summaryrefslogtreecommitdiffstats
path: root/src/vnet/dhcp/dhcp_api.c
diff options
context:
space:
mode:
authorJuraj Sloboda <jsloboda@cisco.com>2018-05-04 14:20:06 +0200
committerOle Trøan <otroan@employees.org>2018-06-21 10:03:03 +0000
commitdd3b8f7ab9f120b92c5fdf26016db47bbe18cb39 (patch)
tree6d43daf689e29638fdabb38c66c4357c1c5f491f /src/vnet/dhcp/dhcp_api.c
parent65ce94a1dcafbba684085e1136b3f12c7bdface3 (diff)
Implement DHCPv6 IA NA client (VPP-1094)
Change-Id: I682a47d6cf9975aca6136188d28ee93eaadf4fe3 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.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/src/vnet/dhcp/dhcp_api.c b/src/vnet/dhcp/dhcp_api.c
index 4e2ed86deed..59ab6dcbba5 100644
--- a/src/vnet/dhcp/dhcp_api.c
+++ b/src/vnet/dhcp/dhcp_api.c
@@ -25,6 +25,8 @@
#include <vnet/dhcp/dhcp_proxy.h>
#include <vnet/dhcp/client.h>
#include <vnet/dhcp/dhcp6_pd_client_dp.h>
+#include <vnet/dhcp/dhcp6_ia_na_client_dp.h>
+#include <vnet/dhcp/dhcp6_client_common_dp.h>
#include <vnet/fib/fib_table.h>
#include <vnet/vnet_msg_enum.h>
@@ -53,7 +55,9 @@ _(DHCP_CLIENT_CONFIG, dhcp_client_config) \
_(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) \
+_(WANT_DHCP6_REPLY_EVENTS, want_dhcp6_reply_events) \
+_(DHCP6_SEND_CLIENT_MESSAGE, dhcp6_send_client_message) \
+_(DHCP6_CLIENTS_ENABLE_DISABLE, dhcp6_clients_enable_disable) \
_(DHCP6_DUID_LL_SET, dhcp6_duid_ll_set)
@@ -390,6 +394,8 @@ dhcp_api_hookup (vlib_main_t * vm)
dhcp6_pd_set_publisher_node (dhcp6_pd_reply_process_node.index,
DHCP6_PD_DP_REPLY_REPORT);
+ dhcp6_set_publisher_node (dhcp6_reply_process_node.index,
+ DHCP6_DP_REPLY_REPORT);
return 0;
}