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_dhcp_lease_t lease
vl_api_address_t dhcp_src_address
vl_api_dhcpv6_msg_type_t msg_type
typedef dhcp6_pd_prefix_info
Struct representing DHCPv6 PD prefix.
void dhcp6_pd_send_client_message(vlib_main_t *vm, u32 sw_if_index, u8 stop, dhcp6_pd_send_client_message_params_t *params)
void dhcp_proxy_dump(fib_protocol_t proto, void *opaque, u32 context)
Dump the proxy configs to the API.
vl_api_dhcp_client_t client
static perfmon_event_t events[]
vl_api_dhcpv6_msg_type_t msg_type
typedef dhcp_client
DHCP Client config data.
vl_api_interface_index_t sw_if_index
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.
typedef dhcp6_address_info
Struct representing DHCPv6 address.
vl_api_vss_type_t vss_type
vl_api_interface_index_t sw_if_index
vl_api_mac_address_t host_mac
vl_api_address_t host_address
manual_print typedef address
vl_api_dhcpv6_msg_type_t msg_type
void dhcp6_send_client_message(vlib_main_t *vm, u32 sw_if_index, u8 stop, dhcp6_send_client_message_params_t *params)
vl_api_dhcp_lease_t lease
vl_api_address_t router_address
typedef domain_server
Struct representing domain server.
vl_api_address_t dhcp_src_address
typedef dhcp_lease
Data learned by the client during the DHCP process.
vl_api_interface_index_t sw_if_index
vl_api_address_t dhcp_server
vl_api_interface_index_t sw_if_index
vl_api_dhcp_client_t client
void dhcp6_clients_enable_disable(u8 enable)
vl_api_dhcp_client_state_t state
vl_api_interface_index_t sw_if_index
vl_api_vss_type_t vss_type
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.