Struct:tt6UserBtEntry

Jump to: navigation, search
 
#include trsocket.h
 
typedef struct ts6UserBtEntry
{
    struct sockaddr_storage btServerAddr;
    struct sockaddr_storage btInfoRequestServerAddr;
    ttUser32Bit btT1;
    ttUser32Bit btT2;
    tt6UserAddrEntryPtr btAddrList;
    struct in6_addr * btDnsServerList;
    ttNtpServerPtr    btNtpServerList; 
    char * btDomainList[TM_6_DHCP_MAX_DOMAINS];
    int btAddrCnt;
    int btDnsServerCnt;
    int btNtpServerCnt;
    int btDomainCnt;
    ttUser8Bit btFqdnFlags;
    ttUser8Bit btFqdnStr[TM_6_DHCP_FQDN_MAX_ASCII_LEN];
} tt6UserBtEntry;
 
typedef tt6UserBtEntry TM_FAR * tt6UserBtEntryPtr;
 
 



Members

  • btServerAddr
    IPv6 address of the DHCPv6 server. This value may not always be available. If so, this field will be zeroed out.
  • btInfoRequestServerAddr
    IPv6 address of the DHCPv6 server replying to our Information-Request message. This value may not always be available. If so, this field will be zeroed out.
  • btT1
    T1: timeout for Rrenew, in seconds
  • btT2
    T2: timeout for Rebind, in seconds
  • btAddrList
    Array of DHCPv6 addresses (see tt6UserAddrEntry)
  • btDnsServerList
    Array of DNS servers
  • btNtpServerList
    Array of NTP servers
  • btDomainList
    Array of pointers to domain names
  • btAddrCnt
    Number of addresses in btAddrList array
  • btDnsServerCnt
    Number of DNS servers in btDnsServerList array
  • btNtpServerCnt
    Number of NTP servers in btNtpServerList array
  • btDomainCnt
    Number of pointers to domain names in btDomainList array
  • btFqdnFlags
    Flags field indicating results of FQDN transaction (see below)
  • btFqdnStr
    Null-terminated string containing the partial or full domain name returned by the DHCPv6 server



Flags

  • TM_6_DHCP_FQDN_SUPPORTED
    If this bit is set, the server has sent back a valid FQDN response. If it is clear, the server does not support FQDN.
  • TM_6_DHCP_FQDN_FULL
    This bit indicates that the domain name returned by the server is a fully qualified domain name (e.g., fqdn1.treck.com). If this bit is clear, the name returned by the server is partial (e.g., fqdn1).
  • TM_6_DHCP_FQDN_FLAG_S
    The "S" bit in the flags field returned by the server. If this bit is set, the server has taken responsibility for AAAA RR DNS updates. If it is not set, the server will not handle the updates.
  • TM_6_DHCP_FQDN_FLAG_O
    The "O" bit in the flags field returned by the server. If this bit is set, it indicates that the "S" bit received from the server is different from the "S" bit sent by the client.
  • TM_6_DHCP_FQDN_FLAG_N
    The "N" bit in the flags field returned by the server. If this bit is set, it indicates that the server will not handle any DNS updates. This includes both PTR RR and AAAA RR updates. If this bit is clear, it means the server will handle PTR RR updates as well as possibly (depending on the "S" bit) AAAA RR updates.