tf6DhcpSetIaOption
Table of Contents >> Optional Protocols >> DHCPv6
#include <trsocket.h> |
int tf6DhcpSetIaOption | ( |
ttUserInterface interfaceHandle, | |
int iaIndex, | |
ttUser32Bit t1, | |
ttUser32Bit t2, | |
int flags | |
); |
Function Description
Set user-preferred configuration options, including the time for renewal and rebinding. The server is not required to honor these requests.
Parameters
- interfaceHandle
- Handle to the interface on which to set the IA options
- iaIndex
- IA index on this interface. Currently, only one IA is supported per interface, and this value must be set to 0
- t1
- User-requested T1 time, in seconds. This is the amount of time the client will wait, after acquiring addresses, before beginning the Renew process
- t2
- User-requested T2 time, in seconds. This is the amount of time the client will wait, after acquiring addresses, before beginning the Rebind process
- flags
- Currently unused
Returns
- TM_ENOERROR
- Success.
- TM_EINVAL
- Invalid parameter
- TM_EPERM
- DHCPv6 not started (tf6UseDhcp() must be called first)