pumpNetIntf Struct Reference

#include <pump.h>


Data Fields

char device [IF_NAMESIZE]
ip_addr_t ip
ip_addr_t ipv4
ip_addr_t ipv6
ip_addr_t netmask
ip_addr_t broadcast
ip_addr_t network
ip_addr_t gateway
ip_addr_t nextServer
ip_addr_t dnsServers [MAX_DNS_SERVERS]
int set
int mtu
int numDns
int ipv6_prefixlen
char * bootFile
char * hostname
char * domain
NLH_t nh
DHCP_nicdhcp_nic


Detailed Description

pump struct pumpNetIntf stripped down to fields actually used by modern anaconda - plus some new fields.

Code which uses any of the type ip_addr_t fields, that were type 'struct in_addr', now need to check the fields' .sa_family and deal with either AF_INET or AF_INET6 addresses (ip_addr_t is cast compatible with 'struct sockaddr_in' and 'struct sockaddr_in6').

Definition at line 109 of file pump.h.


Field Documentation

DHCP_nic* pumpNetIntf::dhcp_nic

the libdhcp DHCP Network Interface Configuration.

Definition at line 125 of file pump.h.

char * pumpNetIntf::domain

dynamically allocated

Definition at line 121 of file pump.h.

int pumpNetIntf::ipv6_prefixlen

set this if 'ip' is IPv6 to set subnet prefix length

Definition at line 117 of file pump.h.

NLH_t pumpNetIntf::nh

the libdhcp NIC Library Handle

Definition at line 123 of file pump.h.


The documentation for this struct was generated from the following file:
Generated on Thu Aug 10 22:16:41 2006 for libdhcp by  doxygen 1.4.7