Dhcpv6RelayContext Struct Reference

DHCPv6 relay agent context. More...

#include <dhcpv6_relay.h>

Data Fields

NetInterfaceserverInterface
 Network-facing interface. More...
 
NetInterfaceclientInterface [DHCPV6_RELAY_MAX_CLIENT_IF]
 Client-facing interfaces. More...
 
uint_t clientInterfaceCount
 Number of client-facing interfaces. More...
 
Ipv6Addr serverAddress
 Address to be used when relaying messages to the server. More...
 
SocketserverSocket
 Socket that handles the network-facing interface. More...
 
SocketclientSocket [DHCPV6_RELAY_MAX_CLIENT_IF]
 Sockets that handle client-facing interfaces. More...
 
SocketEventDesc eventDesc [DHCPV6_RELAY_MAX_CLIENT_IF]
 The events the application is interested in. More...
 
bool_t running
 DHCPv6 relay agent is currently running or not? More...
 
bool_t stopRequest
 Stop request. More...
 
OsEvent ackEvent
 Event object use to acknowledge user requests. More...
 
OsEvent event
 Event object used to poll the sockets. More...
 
OsTaskParameters taskParams
 Task parameters. More...
 
OsTaskId taskId
 Task identifier. More...
 
uint8_t buffer [DHCPV6_MAX_MSG_SIZE]
 Scratch buffer to store DHCPv6 messages. More...
 

Detailed Description

DHCPv6 relay agent context.

Definition at line 91 of file dhcpv6_relay.h.

Field Documentation

◆ ackEvent

OsEvent ackEvent

Event object use to acknowledge user requests.

Definition at line 102 of file dhcpv6_relay.h.

◆ buffer

uint8_t buffer[DHCPV6_MAX_MSG_SIZE]

Scratch buffer to store DHCPv6 messages.

Definition at line 106 of file dhcpv6_relay.h.

◆ clientInterface

Client-facing interfaces.

Definition at line 94 of file dhcpv6_relay.h.

◆ clientInterfaceCount

uint_t clientInterfaceCount

Number of client-facing interfaces.

Definition at line 95 of file dhcpv6_relay.h.

◆ clientSocket

Sockets that handle client-facing interfaces.

Definition at line 98 of file dhcpv6_relay.h.

◆ event

OsEvent event

Event object used to poll the sockets.

Definition at line 103 of file dhcpv6_relay.h.

◆ eventDesc

The events the application is interested in.

Definition at line 99 of file dhcpv6_relay.h.

◆ running

bool_t running

DHCPv6 relay agent is currently running or not?

Definition at line 100 of file dhcpv6_relay.h.

◆ serverAddress

Ipv6Addr serverAddress

Address to be used when relaying messages to the server.

Definition at line 96 of file dhcpv6_relay.h.

◆ serverInterface

NetInterface* serverInterface

Network-facing interface.

Definition at line 93 of file dhcpv6_relay.h.

◆ serverSocket

Socket* serverSocket

Socket that handles the network-facing interface.

Definition at line 97 of file dhcpv6_relay.h.

◆ stopRequest

bool_t stopRequest

Stop request.

Definition at line 101 of file dhcpv6_relay.h.

◆ taskId

OsTaskId taskId

Task identifier.

Definition at line 105 of file dhcpv6_relay.h.

◆ taskParams

OsTaskParameters taskParams

Task parameters.

Definition at line 104 of file dhcpv6_relay.h.


The documentation for this struct was generated from the following file: