ConOpSys V2970  P004.07
ANVILEX control operating system
Classes | Macros | Enumerations | Variables
dhcp6.h File Reference
#include "lwip/opt.h"
Include dependency graph for dhcp6.h:

Go to the source code of this file.

Classes

struct  dhcp6_msg
 

Macros

#define DHCP6_CLIENT_PORT   546
 
#define DHCP6_SERVER_PORT   547
 
#define DHCP6_TRANSACTION_ID_LEN   3
 
#define DHCP6_SOLICIT   1
 
#define DHCP6_ADVERTISE   2
 
#define DHCP6_REQUEST   3
 
#define DHCP6_CONFIRM   4
 
#define DHCP6_RENEW   5
 
#define DHCP6_REBIND   6
 
#define DHCP6_REPLY   7
 
#define DHCP6_RELEASE   8
 
#define DHCP6_DECLINE   9
 
#define DHCP6_RECONFIGURE   10
 
#define DHCP6_INFOREQUEST   11
 
#define DHCP6_RELAYFORW   12
 
#define DHCP6_RELAYREPL   13
 
#define DHCP6_STATUS_SUCCESS   0 /* Success. */
 
#define DHCP6_STATUS_UNSPECFAIL   1 /* Failure, reason unspecified; this status code is sent by either a client or a server to indicate a failure not explicitly specified in this document. */
 
#define DHCP6_STATUS_NOADDRSAVAIL   2 /* Server has no addresses available to assign to the IA(s). */
 
#define DHCP6_STATUS_NOBINDING   3 /* Client record (binding) unavailable. */
 
#define DHCP6_STATUS_NOTONLINK   4 /* The prefix for the address is not appropriate for the link to which the client is attached. */
 
#define DHCP6_STATUS_USEMULTICAST   5 /* Sent by a server to a client to force the client to send messages to the server using the All_DHCP_Relay_Agents_and_Servers address. */
 
#define DHCP6_DUID_LLT   1 /* LLT: Link-layer Address Plus Time */
 
#define DHCP6_DUID_EN   2 /* EN: Enterprise number */
 
#define DHCP6_DUID_LL   3 /* LL: Link-layer Address */
 
#define DHCP6_DUID_UUID   4 /* UUID (RFC 6355) */
 
#define DHCP6_OPTION_CLIENTID   1
 
#define DHCP6_OPTION_SERVERID   2
 
#define DHCP6_OPTION_IA_NA   3
 
#define DHCP6_OPTION_IA_TA   4
 
#define DHCP6_OPTION_IAADDR   5
 
#define DHCP6_OPTION_ORO   6
 
#define DHCP6_OPTION_PREFERENCE   7
 
#define DHCP6_OPTION_ELAPSED_TIME   8
 
#define DHCP6_OPTION_RELAY_MSG   9
 
#define DHCP6_OPTION_AUTH   11
 
#define DHCP6_OPTION_UNICAST   12
 
#define DHCP6_OPTION_STATUS_CODE   13
 
#define DHCP6_OPTION_RAPID_COMMIT   14
 
#define DHCP6_OPTION_USER_CLASS   15
 
#define DHCP6_OPTION_VENDOR_CLASS   16
 
#define DHCP6_OPTION_VENDOR_OPTS   17
 
#define DHCP6_OPTION_INTERFACE_ID   18
 
#define DHCP6_OPTION_RECONF_MSG   19
 
#define DHCP6_OPTION_RECONF_ACCEPT   20
 
#define DHCP6_OPTION_DNS_SERVERS   23 /* RFC 3646 */
 
#define DHCP6_OPTION_DOMAIN_LIST   24 /* RFC 3646 */
 
#define DHCP6_OPTION_SNTP_SERVERS   31 /* RFC 4075 */
 

Enumerations

enum  dhcp6_state_enum_t { DHCP6_STATE_OFF = 0 , DHCP6_STATE_STATELESS_IDLE = 1 , DHCP6_STATE_REQUESTING_CONFIG = 2 }
 

Variables

PACK_STRUCT_BEGIN struct dhcp6_msg PACK_STRUCT_STRUCT
 

Detailed Description

DHCPv6 protocol definitions

Macro Definition Documentation

◆ DHCP6_ADVERTISE

#define DHCP6_ADVERTISE   2

◆ DHCP6_CLIENT_PORT

#define DHCP6_CLIENT_PORT   546

◆ DHCP6_CONFIRM

#define DHCP6_CONFIRM   4

◆ DHCP6_DECLINE

#define DHCP6_DECLINE   9

◆ DHCP6_DUID_EN

#define DHCP6_DUID_EN   2 /* EN: Enterprise number */

◆ DHCP6_DUID_LL

#define DHCP6_DUID_LL   3 /* LL: Link-layer Address */

◆ DHCP6_DUID_LLT

#define DHCP6_DUID_LLT   1 /* LLT: Link-layer Address Plus Time */

DHCPv6 DUID types

◆ DHCP6_DUID_UUID

#define DHCP6_DUID_UUID   4 /* UUID (RFC 6355) */

◆ DHCP6_INFOREQUEST

#define DHCP6_INFOREQUEST   11

◆ DHCP6_OPTION_AUTH

#define DHCP6_OPTION_AUTH   11

◆ DHCP6_OPTION_CLIENTID

#define DHCP6_OPTION_CLIENTID   1

◆ DHCP6_OPTION_DNS_SERVERS

#define DHCP6_OPTION_DNS_SERVERS   23 /* RFC 3646 */

◆ DHCP6_OPTION_DOMAIN_LIST

#define DHCP6_OPTION_DOMAIN_LIST   24 /* RFC 3646 */

◆ DHCP6_OPTION_ELAPSED_TIME

#define DHCP6_OPTION_ELAPSED_TIME   8

◆ DHCP6_OPTION_IA_NA

#define DHCP6_OPTION_IA_NA   3

◆ DHCP6_OPTION_IA_TA

#define DHCP6_OPTION_IA_TA   4

◆ DHCP6_OPTION_IAADDR

#define DHCP6_OPTION_IAADDR   5

◆ DHCP6_OPTION_INTERFACE_ID

#define DHCP6_OPTION_INTERFACE_ID   18

◆ DHCP6_OPTION_ORO

#define DHCP6_OPTION_ORO   6

◆ DHCP6_OPTION_PREFERENCE

#define DHCP6_OPTION_PREFERENCE   7

◆ DHCP6_OPTION_RAPID_COMMIT

#define DHCP6_OPTION_RAPID_COMMIT   14

◆ DHCP6_OPTION_RECONF_ACCEPT

#define DHCP6_OPTION_RECONF_ACCEPT   20

◆ DHCP6_OPTION_RECONF_MSG

#define DHCP6_OPTION_RECONF_MSG   19

◆ DHCP6_OPTION_RELAY_MSG

#define DHCP6_OPTION_RELAY_MSG   9

◆ DHCP6_OPTION_SERVERID

#define DHCP6_OPTION_SERVERID   2

◆ DHCP6_OPTION_SNTP_SERVERS

#define DHCP6_OPTION_SNTP_SERVERS   31 /* RFC 4075 */

◆ DHCP6_OPTION_STATUS_CODE

#define DHCP6_OPTION_STATUS_CODE   13

◆ DHCP6_OPTION_UNICAST

#define DHCP6_OPTION_UNICAST   12

◆ DHCP6_OPTION_USER_CLASS

#define DHCP6_OPTION_USER_CLASS   15

◆ DHCP6_OPTION_VENDOR_CLASS

#define DHCP6_OPTION_VENDOR_CLASS   16

◆ DHCP6_OPTION_VENDOR_OPTS

#define DHCP6_OPTION_VENDOR_OPTS   17

◆ DHCP6_REBIND

#define DHCP6_REBIND   6

◆ DHCP6_RECONFIGURE

#define DHCP6_RECONFIGURE   10

◆ DHCP6_RELAYFORW

#define DHCP6_RELAYFORW   12

◆ DHCP6_RELAYREPL

#define DHCP6_RELAYREPL   13

◆ DHCP6_RELEASE

#define DHCP6_RELEASE   8

◆ DHCP6_RENEW

#define DHCP6_RENEW   5

◆ DHCP6_REPLY

#define DHCP6_REPLY   7

◆ DHCP6_REQUEST

#define DHCP6_REQUEST   3

◆ DHCP6_SERVER_PORT

#define DHCP6_SERVER_PORT   547

◆ DHCP6_SOLICIT

#define DHCP6_SOLICIT   1

◆ DHCP6_STATUS_NOADDRSAVAIL

#define DHCP6_STATUS_NOADDRSAVAIL   2 /* Server has no addresses available to assign to the IA(s). */

◆ DHCP6_STATUS_NOBINDING

#define DHCP6_STATUS_NOBINDING   3 /* Client record (binding) unavailable. */

◆ DHCP6_STATUS_NOTONLINK

#define DHCP6_STATUS_NOTONLINK   4 /* The prefix for the address is not appropriate for the link to which the client is attached. */

◆ DHCP6_STATUS_SUCCESS

#define DHCP6_STATUS_SUCCESS   0 /* Success. */

DHCPv6 status codes

◆ DHCP6_STATUS_UNSPECFAIL

#define DHCP6_STATUS_UNSPECFAIL   1 /* Failure, reason unspecified; this status code is sent by either a client or a server to indicate a failure not explicitly specified in this document. */

◆ DHCP6_STATUS_USEMULTICAST

#define DHCP6_STATUS_USEMULTICAST   5 /* Sent by a server to a client to force the client to send messages to the server using the All_DHCP_Relay_Agents_and_Servers address. */

◆ DHCP6_TRANSACTION_ID_LEN

#define DHCP6_TRANSACTION_ID_LEN   3

Enumeration Type Documentation

◆ dhcp6_state_enum_t

Enumerator
DHCP6_STATE_OFF 
DHCP6_STATE_STATELESS_IDLE 
DHCP6_STATE_REQUESTING_CONFIG 

Variable Documentation

◆ PACK_STRUCT_STRUCT

PACK_STRUCT_BEGIN struct dhcp6_msg PACK_STRUCT_STRUCT