TCPIP_DHCPV6_MODULE_CONFIG Structure
C
typedef struct {
TCPIP_DHCPV6_CONFIG_FLAGS configFlags;
uint16_t dhcpCliPort;
uint16_t dhcpSrvPort;
uint16_t duidType;
uint16_t nIanaDcpts;
uint16_t nIataDcpts;
uint16_t nFreeDcpts;
uint32_t defaultIanaT1;
uint32_t defaultIanaT2;
uint32_t defaultIataT1;
uint32_t defaultIataT2;
uint32_t ianaSolicitT1;
uint32_t ianaSolicitT2;
uint32_t solicitPrefLTime;
uint32_t solicitValidLTime;
int nMsgBuffers;
int msgBufferSize;
} TCPIP_DHCPV6_MODULE_CONFIG;
Description
DHCPv6 module configuration.
Members
Members | Description |
---|---|
configFlags | DHCPv6 client configuration flags. |
dhcpCliPort | Client port for DHCPv6 client transactions. |
dhcpSrvPort | Remote server port for DHCPv6 server messages. |
duidType | TCPIP_DHCPV6_DUID_TYPE: type to use for the DHCPv6 clients. |
nIanaDcpts | Number of IANAs per client; default should be 1. |
nIataDcpts | Number of IATAs per client; default should be 0. |
nFreeDcpts | Number of free IAs per client - they could be added at run time; default should be 0. |
defaultIanaT1 | The default time at which the client contacts the server to extend the lifetimes of the assigned IA_NA addresses If the IANA t1 value received from the server is 0, then this value will be used to override A value of 0 means the t1 is infinite default value should be 0. |
defaultIanaT2 | The default time at which the client contacts any available server to extend the lifetimes of the assigned IA_NA addresses If the IANA t2 value received from the server is 0, then this value will be used to override if !0 it should be > defaultIanaT1! Has to be > t1 A value of 0 means the t2 is infinite default value should be 0. |
defaultIataT1 | The default time at which the client contacts the server to extend the lifetimes of the assigned IATA addresses If 0, the timeout will be infinite (0xffffffff). |
defaultIataT2 | The default time at which the client contacts any available server to extend the lifetimes of the assigned IA_TA addresses if !0 it should be > defaultIataT1! If 0, the timeout will be infinite (0xffffffff). |
ianaSolicitT1 | The default T1 time to solicit from the server default should be 0. |
ianaSolicitT2 | The default T2 time to solicit from the server default should be 0. |
solicitPrefLTime | Default addresses preferred lifetime to solicit from the server default should be 0. |
solicitValidLTime | Default addresses valid lifetime to solicit from the server default should be 0. |
nMsgBuffers | Number of message buffers to allocate for this client these buffers are used for the TX/RX operations Enough buffers need to be allocated for gathering server advertisements and being able to transmit messages default should be 4. |
msgBufferSize | Size of the message buffers default is 512 bytes. |