FD.io VPP
v18.07-34-g55fbdb9
Vector Packet Processing
|
Go to the source code of this file.
Data Structures | |
struct | dhcpv6_hdr_ |
struct | dhcp_stats_counters_ |
Macros | |
#define | DHCP_MAX_RELAY_ADDR 16 |
#define | PROTO_UDP 17 |
#define | DHCPV6_CLIENT_PORT 546 |
#define | DHCPV6_SERVER_PORT 547 |
#define | HOP_COUNT_LIMIT 32 |
#define | DHCPV6_CISCO_ENT_NUM 9 |
#define | dhcpv6_foreach_option |
#define | dhcpv6_optlen(opt) clib_net_to_host_u16((opt)->length) |
Typedefs | |
typedef enum dhcpv6_msg_type_ | dhcpv6_msg_type_t |
typedef struct dhcpv6_hdr_ | dhcpv6_header_t |
typedef enum dhcp_stats_action_type_ | dhcp_stats_action_type_t |
typedef struct dhcp_stats_counters_ | dhcp_stats_counters_t |
typedef enum dhcpv6_stats_drop_reason_ | dhcpv6_stats_drop_reason_t |
Functions | |
typedef | CLIB_PACKED (struct dhcpv6_relay_ctx_{dhcpv6_header_t *pkt;u32 pkt_len;u32 dhcpv6_len;u32 if_index;u32 ctx_id;char ctx_name[32+1];u8 dhcp_msg_type;}) dhcpv6_relay_ctx_t |
typedef | CLIB_PACKED (struct dhcpv6_relay_hdr_{u8 msg_type;u8 hop_count;ip6_address_t link_addr;ip6_address_t peer_addr;u8 data[0];}) dhcpv6_relay_hdr_t |
typedef | CLIB_PACKED (struct{u16 option;u16 length;u8 data[0];}) dhcpv6_option_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;u16 status_code;}) dhcpv6_status_code_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;u32 int_idx;}) dhcpv6_int_id_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;u8 vss_type;u8 data[0];}) dhcpv6_vss_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;u32 ent_num;u32 rmt_id;}) dhcpv6_rmt_id_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;u16 link_type;u8 data[6];}) dhcpv6_client_mac_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;u32 iaid;u32 t1;u32 t2;u8 data[0];}) dhcpv6_ia_header_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;u32 preferred;u32 valid;u8 prefix;ip6_address_t addr;}) dhcpv6_ia_opt_pd_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;ip6_address_t addr;u32 preferred;u32 valid;}) dhcpv6_ia_opt_addr_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;u16 options[0];}) dhcpv6_oro_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;u16 elapsed_10ms;}) dhcpv6_elapsed_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;u16 duid_type;u16 hardware_type;}) dhcpv6_duid_t |
typedef | CLIB_PACKED (struct{dhcpv6_option_t opt;u16 status_code;u8 message[0];}) dhcpv6_status_t |
#define DHCP_MAX_RELAY_ADDR 16 |
Definition at line 24 of file dhcp6_packet.h.
#define DHCPV6_CISCO_ENT_NUM 9 |
Definition at line 29 of file dhcp6_packet.h.
#define DHCPV6_CLIENT_PORT 546 |
Definition at line 26 of file dhcp6_packet.h.
#define dhcpv6_foreach_option |
Definition at line 52 of file dhcp6_packet.h.
#define dhcpv6_optlen | ( | opt | ) | clib_net_to_host_u16((opt)->length) |
Definition at line 172 of file dhcp6_packet.h.
#define DHCPV6_SERVER_PORT 547 |
Definition at line 27 of file dhcp6_packet.h.
#define HOP_COUNT_LIMIT 32 |
Definition at line 28 of file dhcp6_packet.h.
#define PROTO_UDP 17 |
Definition at line 25 of file dhcp6_packet.h.
typedef enum dhcp_stats_action_type_ dhcp_stats_action_type_t |
typedef struct dhcp_stats_counters_ dhcp_stats_counters_t |
typedef struct dhcpv6_hdr_ dhcpv6_header_t |
typedef enum dhcpv6_msg_type_ dhcpv6_msg_type_t |
typedef enum dhcpv6_stats_drop_reason_ dhcpv6_stats_drop_reason_t |
anonymous enum |
Enumerator | |
---|---|
DHCPV6_OPTION_MAX |
Definition at line 82 of file dhcp6_packet.h.
anonymous enum |
Enumerator | |
---|---|
DHCPV6_STATUS_SUCCESS | |
DHCPV6_STATUS_UNSPEC_FAIL | |
DHCPV6_STATUS_NOADDRS_AVAIL | |
DHCPV6_STATUS_NO_BINDING | |
DHCPV6_STATUS_NOT_ONLINK | |
DHCPV6_STATUS_USE_MULTICAST | |
DHCPV6_STATUS_NOPREFIX_AVAIL |
Definition at line 93 of file dhcp6_packet.h.
anonymous enum |
Enumerator | |
---|---|
DHCPV6_DUID_LLT | |
DHCPV6_DUID_EN | |
DHCPV6_DUID_LL |
Definition at line 107 of file dhcp6_packet.h.
Enumerator | |
---|---|
DHCP_STATS_ACTION_FORWARDED | |
DHCP_STATS_ACTION_RECEIVED | |
DHCP_STATS_ACTION_DROPPED |
Definition at line 146 of file dhcp6_packet.h.
enum dhcpv6_msg_type_ |
Definition at line 34 of file dhcp6_packet.h.
Definition at line 161 of file dhcp6_packet.h.
typedef CLIB_PACKED | ( | struct dhcpv6_relay_ctx_{dhcpv6_header_t *pkt;u32 pkt_len;u32 dhcpv6_len;u32 if_index;u32 ctx_id;char ctx_name[32+1];u8 dhcp_msg_type;} | ) |
typedef CLIB_PACKED | ( | struct dhcpv6_relay_hdr_{u8 msg_type;u8 hop_count;ip6_address_t link_addr;ip6_address_t peer_addr;u8 data[0];} | ) |
typedef CLIB_PACKED | ( | struct{dhcpv6_option_t opt;u16 status_code;} | ) |
typedef CLIB_PACKED | ( | struct{dhcpv6_option_t opt;u32 int_idx;} | ) |
typedef CLIB_PACKED | ( | struct{dhcpv6_option_t opt;u32 preferred;u32 valid;u8 prefix;ip6_address_t addr;} | ) |
typedef CLIB_PACKED | ( | struct{dhcpv6_option_t opt;ip6_address_t addr;u32 preferred;u32 valid;} | ) |
typedef CLIB_PACKED | ( | struct{dhcpv6_option_t opt;u16 options[0];} | ) |
typedef CLIB_PACKED | ( | struct{dhcpv6_option_t opt;u16 elapsed_10ms;} | ) |