Open Ethernet Networking (OpEN) API Guide and Reference Manual  3.13.1.2
Data Fields

Data Fields

unsigned char bootFile [OPEN_BOOTP_FILE_LEN+1]
 Bootfile name.
 
uint32_t changeType
 Type of change to the DHCP info.
 
OPEN_BOOL_t dhcpAddressFlushFlag
 Flag indicating DHCP address removal in progress.
 
uint32_t gateway
 Gateway.
 
uint32_t intIfNum
 Internal interface number if port type is not service or network.
 
uint32_t ip
 Host IP address.
 
uint32_t mgmtPortType
 Management port type.
 
uint32_t netMask
 Host netmask.
 
uint32_t offeredOptionsMask
 Mask holds offered options IDs. More...
 
open_dhcp_option125_t opt125
 Opt 125. More...
 
unsigned char optBootFile [OPEN_BOOTP_FILE_LEN+1]
 Bootfile name, got from option 67 field.
 
unsigned char optDefDomainName [OPENAPI_DNS_HOST_NAME_LEN_MAX+1]
 Domain name, got from option 15 field.
 
uint32_t optDnsServerIpAddr [OPEN_DNS_NAME_SERVER_ENTRIES]
 IP addres of DNS server, got from option 6 field.
 
unsigned char optHostName [OPEN_HOSTNAME_MAX_LEN+1]
 hostname name, got from option 12 field
 
uint32_t optNtpServerIpAddr [OPEN_NTP_MAX_SERVER_ENTRIES]
 IP addres of NTP server, got from option 42 field.
 
uint32_t optTftpSvrIpAddr
 IP addres of TFTP server, got from option 150 field.
 
unsigned char optTftpSvrName [OPEN_BOOTP_SNAME_LEN+1]
 TFTP server name, got from option 66 field.
 
uint32_t siaddr
 Next server address.
 
unsigned char sname [OPEN_BOOTP_SNAME_LEN+1]
 Server name.
 
open_dhcp_vendor_specific_option_tvendSpecificOptions
 DHCP Option-43. More...
 

Detailed Description

Examples:
dhcp_client_example.c.

Definition at line 105 of file openapi_dhcp_client.h.

Field Documentation

uint32_t open_bootp_dhcp_t::offeredOptionsMask

Mask holds offered options IDs.

Set mask using OR operation with flags defined in open_bootp_dhcp_offered_options_e

Examples:
dhcp_client_example.c.

Definition at line 121 of file openapi_dhcp_client.h.

open_dhcp_option125_t open_bootp_dhcp_t::opt125

Opt 125.

Vendor Identified option.

Examples:
dhcp_client_example.c.

Definition at line 123 of file openapi_dhcp_client.h.

open_dhcp_vendor_specific_option_t* open_bootp_dhcp_t::vendSpecificOptions

DHCP Option-43.

Examples:
dhcp_client_example.c.

Definition at line 120 of file openapi_dhcp_client.h.


The documentation for this struct was generated from the following file: