FD.io VPP  v18.07.1-13-g909ba93
Vector Packet Processing
vl_api_dhcp_lease_t Struct Reference

Data learned by the client during the DHCP process. More...

Data Fields

u32 sw_if_index
u8 state
u8 hostname [64]
u8 is_ipv6
u8 mask_width
u8 host_address [16]
u8 router_address [16]
u8 host_mac [6]

Detailed Description

Data learned by the client during the DHCP process.

Template Parameters
sw_if_index- the interface on which the client is configured
state- the state of the lease (see dhcp_client_state_t)
is_ipv6- if non-zero the address is ipv6, else ipv4
mask_width- The length of the subnet mask assigned
host_address- Host IP address
router_address- Router IP address
host_mac- Host MAC address

Definition at line 108 of file dhcp.api.

Field Documentation

u8 vl_api_dhcp_lease_t::host_address[16]

Definition at line 115 of file dhcp.api.

u8 vl_api_dhcp_lease_t::host_mac[6]

Definition at line 117 of file dhcp.api.

u8 vl_api_dhcp_lease_t::hostname[64]

Definition at line 112 of file dhcp.api.

u8 vl_api_dhcp_lease_t::is_ipv6

Definition at line 113 of file dhcp.api.

u8 vl_api_dhcp_lease_t::mask_width

Definition at line 114 of file dhcp.api.

u8 vl_api_dhcp_lease_t::router_address[16]

Definition at line 116 of file dhcp.api.

u8 vl_api_dhcp_lease_t::state

Definition at line 111 of file dhcp.api.

u32 vl_api_dhcp_lease_t::sw_if_index

Definition at line 110 of file dhcp.api.

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