|
FD.io VPP
v21.06-3-gbb25fbf28
Vector Packet Processing
|
Go to the documentation of this file.
18 import "vnet/interface_types.api";
19 import "vnet/ip/ip_types.api";
20 import "vnet/ethernet/ethernet_types.api";
57 define dhcp_plugin_get_version
69 define dhcp_plugin_get_version_reply
80 define dhcp_plugin_control_ping
92 define dhcp_plugin_control_ping_reply
110 autoreply define dhcp_proxy_config
138 string vpn_ascii_id[129];
217 define dhcp_compl_event
230 define dhcp_client_dump
240 define dhcp_client_details
267 define dhcp_proxy_details
275 string vss_vpn_ascii_id[129];
278 vl_api_dhcp_server_t servers[
count];
286 autoreply define dhcp6_duid_ll_set
323 vl_api_ip6_prefix_t
prefix;
364 vl_api_dhcp6_address_info_t addresses[n_addresses];
403 vl_api_dhcp6_pd_prefix_info_t prefixes[n_prefixes];
407 rpc want_dhcp6_reply_events returns want_dhcp6_reply_events_reply
412 rpc want_dhcp6_pd_reply_events returns want_dhcp6_pd_reply_events_reply
413 events dhcp6_pd_reply_event;
422 autoreply define want_dhcp6_reply_events
436 autoreply define want_dhcp6_pd_reply_events
459 define dhcp6_reply_event
472 vl_api_dhcp6_address_info_t addresses[n_addresses];
490 define dhcp6_pd_reply_event
503 vl_api_dhcp6_pd_prefix_info_t prefixes[n_prefixes];
vl_api_address_t host_address
DHCP Proxy config add / del request.
Register for DHCPv6 PD reply events.
vl_api_dhcp6_pd_prefix_info_t prefixes[n_prefixes]
void dhcp6_pd_send_client_message(vlib_main_t *vm, u32 sw_if_index, u8 stop, dhcp6_pd_send_client_message_params_t *params)
@ DHCPV6_MSG_API_RELAY_REPL
DHCP Client config add / del request.
vl_api_dhcpv6_msg_type_t msg_type
int dhcp_proxy_set_vss(fib_protocol_t proto, u32 tbl_id, u8 vss_type, u8 *vpn_ascii_id, u32 oui, u32 vpn_index, u8 is_del)
Configure/set a new VSS info.
vl_api_dhcp_client_t client
vl_api_interface_index_t sw_if_index
@ DHCPV6_MSG_API_RECONFIGURE
vl_api_dhcp_client_state_t state
vl_api_dhcp_lease_t lease
Control ping from the client to the server response.
vl_api_interface_index_t sw_if_index
Enable/disable listening on DHCPv6 client port.
DHCP Proxy set / unset vss request.
vl_api_dhcp6_pd_prefix_info_t prefixes[n_prefixes]
vl_api_address_t router_address
typedef domain_server
Struct representing domain server.
Tell client about a DHCPv6 server reply event.
string vss_vpn_ascii_id[129]
Send DHCPv6 client message of specified type.
vl_api_address_t dhcp_src_address
Tell client about a DHCP completion event.
static perfmon_event_t events[]
vl_api_address_t dhcp_server
vl_api_dhcpv6_msg_type_t msg_type
void dhcp_proxy_dump(fib_protocol_t proto, void *opaque, u32 context)
Dump the proxy configs to the API.
vl_api_interface_index_t sw_if_index
manual_print typedef address
vl_api_address_t dhcp_src_address
Dump the DHCP client configurations.
@ DHCP_CLIENT_STATE_API_REQUEST
vl_api_interface_index_t sw_if_index
void dhcp6_send_client_message(vlib_main_t *vm, u32 sw_if_index, u8 stop, dhcp6_send_client_message_params_t *params)
Register for DHCPv6 reply events.
typedef dhcp6_pd_prefix_info
Struct representing DHCPv6 PD prefix.
vl_api_vss_type_t vss_type
vl_api_dhcp_server_t servers[count]
vl_api_vss_type_t vss_type
vl_api_dhcp6_address_info_t addresses[n_addresses]
Tell client about a DHCPv6 PD server reply event.
vl_api_dhcpv6_msg_type_t msg_type
void dhcp6_clients_enable_disable(u8 enable)
typedef dhcp_client
DHCP Client config data.
vl_api_dhcpv6_msg_type_t msg_type
vl_api_dhcp6_address_info_t addresses[n_addresses]
DHCP Client details returned from dump.
typedef dhcp6_address_info
Struct representing DHCPv6 address.
vl_api_dhcp_lease_t lease
Control ping from client to api server request.
@ DHCPV6_MSG_API_RELAY_FORW
@ DHCP_CLIENT_STATE_API_DISCOVER
@ DHCPV6_MSG_API_ADVERTISE
vl_api_mac_address_t host_mac
@ DHCP_CLIENT_STATE_API_BOUND
Tell client about a DHCP completion event.
@ DHCPV6_MSG_API_INFORMATION_REQUEST
vl_api_interface_index_t sw_if_index
int dhcp_client_config(u32 is_add, u32 client_index, vlib_main_t *vm, u32 sw_if_index, u8 *hostname, u8 *client_id, dhcp_event_cb_t event_callback, u8 set_broadcast_flag, ip_dscp_t dscp, u32 pid)
Add/Delete DHCP clients.
Reply to get the plugin version.
typedef dhcp_lease
Data learned by the client during the DHCP process.
vl_api_dhcp_client_t client
Send DHCPv6 PD client message of specified type.