NetBurner 3.5.0
PDF Version
 
ipv6_intf.h File Reference

NetBurner DHCPv6 API. More...

#include <basictypes.h>
#include <nettypes.h>

Go to the source code of this file.

Functions

void InitIPv6 (int ifc=0)
 
void ShowAllV6Info ()
 
void StartDHCPv6_Solicit (int ifnum=-1)
 Manually starts the DHCPv6 Client in Full Solicitation mode.
 
void StartDHCPv6_InfoReq (int ifnum=-1)
 Manually starts the DHCPv6 Client in Full Solicitation mode.
 
void StartDHCPv6 (int ifnum=-1)
 Manually starts the DHCPv6 Client in Information Request mode.
 
bool AddStaticIPv6Address (const IPADDR6 &ip, int ifnum=-1)
 Add a static IPv6 address to an interface.
 
bool RemoveStaticIPv6Address (const IPADDR6 &ip, int ifnum=-1)
 Add a static IPv6 address to an interface.
 

Detailed Description

NetBurner DHCPv6 API.

The DHCPv6 Library allows for full DCHPv6 negotiations as a client. It operates in one of two modes: Information Request or Full Solicitation. In the Information Request mode, it will only perform Information Requests, seeking Additional Information from DHCPv6 Servers. This includes things such as DNS Servers, NTP Servers, TFTP Boot Servers, etc, basically everything that isn�t assigning an address to the interface requesting the information. In Full Solicitation, the client will perform a full address solicitation and attempt to have assigned at least one address from a DHCPv6 Server. It will also obtain the Additional Information as well.

The DHCPv6 client is automagically started whenever a Router Advertisement (RFC 4861) is detected that has either the Other or Managed bits set. It is also possible to manually launch the DHCPv6 Client by calling an API function.

Finally, as a way to allow user access and extension to the DHCPv6 negotiations, there are a set of Callback functions that will allow access to add requested options and examine responses.