summaryrefslogtreecommitdiffstats
path: root/src/vnet/dhcp/dhcp_api.c
diff options
context:
space:
mode:
authorJuraj Sloboda <jsloboda@cisco.com>2018-05-25 14:02:20 +0200
committerOle Trøan <otroan@employees.org>2018-06-08 20:39:05 +0000
commit81119e86bdf47f41f06218f91e52024bc4d00e7c (patch)
tree8aaca952221133e7ffad441c3018c27d549d8e29 /src/vnet/dhcp/dhcp_api.c
parent898cd8f83d56ece9df9f02d54170a96f7cf6d500 (diff)
Implement DHCPv6 PD client (VPP-718, VPP-1050)
Change-Id: I72a1ccdfdd5573335ef78fc01d5268934c73bd31 Signed-off-by: Juraj Sloboda <jsloboda@cisco.com>
Diffstat (limited to 'src/vnet/dhcp/dhcp_api.c')
-rw-r--r--src/vnet/dhcp/dhcp_api.c9
1 files changed, 8 insertions, 1 deletions
diff --git a/src/vnet/dhcp/dhcp_api.c b/src/vnet/dhcp/dhcp_api.c
index 1dacf1178c2..5aed4c0d21e 100644
--- a/src/vnet/dhcp/dhcp_api.c
+++ b/src/vnet/dhcp/dhcp_api.c
@@ -24,6 +24,7 @@
#include <vnet/api_errno.h>
#include <vnet/dhcp/dhcp_proxy.h>
#include <vnet/dhcp/client.h>
+#include <vnet/dhcp/dhcp6_pd_client_dp.h>
#include <vnet/fib/fib_table.h>
#include <vnet/vnet_msg_enum.h>
@@ -49,7 +50,10 @@ _(DHCP_PROXY_CONFIG,dhcp_proxy_config) \
_(DHCP_PROXY_DUMP,dhcp_proxy_dump) \
_(DHCP_PROXY_SET_VSS,dhcp_proxy_set_vss) \
_(DHCP_CLIENT_CONFIG, dhcp_client_config) \
-_(DHCP_CLIENT_DUMP, dhcp_client_dump)
+_(DHCP_CLIENT_DUMP, dhcp_client_dump) \
+_(WANT_DHCP6_PD_REPLY_EVENTS, want_dhcp6_pd_reply_events) \
+_(DHCP6_PD_SEND_CLIENT_MESSAGE, dhcp6_pd_send_client_message) \
+_(DHCP6_CLIENTS_ENABLE_DISABLE, dhcp6_clients_enable_disable)
static void
@@ -383,6 +387,9 @@ dhcp_api_hookup (vlib_main_t * vm)
*/
setup_message_id_table (am);
+ dhcp6_pd_set_publisher_node (dhcp6_pd_reply_process_node.index,
+ DHCP6_PD_DP_REPLY_REPORT);
+
return 0;
}