iPXE
dhcpv6_session Struct Reference

A DHCPv6 session. More...

Data Fields

struct refcnt refcnt
 Reference counter.
struct interface job
 Job control interface.
struct interface xfer
 Data transfer interface.
struct net_devicenetdev
 Network device being configured.
struct in6_addr router
 Router address.
uint8_t xid [3]
 Transaction ID.
uint32_t iaid
 Identity association ID.
unsigned long start
 Start time (in ticks)
struct dhcpv6_duid_uuid client_duid
 Client DUID.
void * server_duid
 Server DUID, if known.
size_t server_duid_len
 Server DUID length.
struct in6_addr lease
 Leased IPv6 address.
struct retry_timer timer
 Retransmission timer.
struct dhcpv6_session_statestate
 Current session state.
int rc
 Current timeout status code.

Detailed Description

A DHCPv6 session.

Definition at line 570 of file dhcpv6.c.

Field Documentation

◆ refcnt

struct refcnt dhcpv6_session::refcnt

Reference counter.

Definition at line 572 of file dhcpv6.c.

Referenced by start_dhcpv6().

◆ job

struct interface dhcpv6_session::job

Job control interface.

Definition at line 574 of file dhcpv6.c.

Referenced by dhcpv6_finished(), and start_dhcpv6().

◆ xfer

struct interface dhcpv6_session::xfer

Data transfer interface.

Definition at line 576 of file dhcpv6.c.

Referenced by dhcpv6_finished(), dhcpv6_tx(), and start_dhcpv6().

◆ netdev

struct net_device* dhcpv6_session::netdev

Network device being configured.

Definition at line 579 of file dhcpv6.c.

Referenced by dhcpv6_free(), dhcpv6_rx(), dhcpv6_set_state(), dhcpv6_tx(), and start_dhcpv6().

◆ router

struct in6_addr dhcpv6_session::router

Router address.

Definition at line 581 of file dhcpv6.c.

Referenced by dhcpv6_rx(), and start_dhcpv6().

◆ xid

uint8_t dhcpv6_session::xid[3]

Transaction ID.

Definition at line 583 of file dhcpv6.c.

Referenced by dhcpv6_tx(), and start_dhcpv6().

◆ iaid

uint32_t dhcpv6_session::iaid

Identity association ID.

Definition at line 585 of file dhcpv6.c.

Referenced by dhcpv6_rx(), dhcpv6_tx(), and start_dhcpv6().

◆ start

unsigned long dhcpv6_session::start

Start time (in ticks)

Definition at line 587 of file dhcpv6.c.

Referenced by dhcpv6_tx(), and start_dhcpv6().

◆ client_duid

struct dhcpv6_duid_uuid dhcpv6_session::client_duid

Client DUID.

Definition at line 589 of file dhcpv6.c.

Referenced by dhcpv6_rx(), dhcpv6_tx(), and start_dhcpv6().

◆ server_duid

void* dhcpv6_session::server_duid

Server DUID, if known.

Definition at line 591 of file dhcpv6.c.

Referenced by dhcpv6_free(), dhcpv6_rx(), and dhcpv6_tx().

◆ server_duid_len

size_t dhcpv6_session::server_duid_len

Server DUID length.

Definition at line 593 of file dhcpv6.c.

Referenced by dhcpv6_rx(), and dhcpv6_tx().

◆ lease

struct in6_addr dhcpv6_session::lease

Leased IPv6 address.

Definition at line 595 of file dhcpv6.c.

Referenced by dhcpv6_rx(), and dhcpv6_tx().

◆ timer

struct retry_timer dhcpv6_session::timer

Retransmission timer.

Definition at line 598 of file dhcpv6.c.

Referenced by dhcpv6_finished(), dhcpv6_set_state(), dhcpv6_timer_expired(), and start_dhcpv6().

◆ state

struct dhcpv6_session_state* dhcpv6_session::state

Current session state.

Definition at line 601 of file dhcpv6.c.

Referenced by dhcpv6_rx(), dhcpv6_set_state(), and dhcpv6_tx().

◆ rc

int dhcpv6_session::rc

Current timeout status code.

Definition at line 603 of file dhcpv6.c.

Referenced by dhcpv6_rx(), dhcpv6_set_state(), and dhcpv6_timer_expired().


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