From 9080096f7c548415fc4d5354c7e582a3eda1a5ed Mon Sep 17 00:00:00 2001 From: Dave Barach Date: Fri, 24 May 2019 13:03:01 -0400 Subject: Add an ip6 local hop-by-hop protocol demux table Add a minimal ip6 hbh header processing test. ioam plugin: use ip6_local_hop_by_hop_register_protocol() in udp_ping_init(). Please test the ioam plugin udp_ping path AYEC, so I can publish the patch. Change-Id: I74e35276d6c38c31022026cfd238fad5e4a54485 Signed-off-by: Dave Barach --- src/plugins/ioam/udp-ping/udp_ping_node.c | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) (limited to 'src/plugins/ioam') diff --git a/src/plugins/ioam/udp-ping/udp_ping_node.c b/src/plugins/ioam/udp-ping/udp_ping_node.c index f48a15c7c0c..cf38bf6c46a 100644 --- a/src/plugins/ioam/udp-ping/udp_ping_node.c +++ b/src/plugins/ioam/udp-ping/udp_ping_node.c @@ -823,10 +823,8 @@ udp_ping_init (vlib_main_t * vm) udp_ping_main.vnet_main = vnet_get_main (); udp_ping_main.timer_interval = 1e9; - /* This steals MLDv2 listener reports. Disable until we properly handle - * hop-by-hop options in ip6-local */ - /* ip6_register_protocol (IP_PROTOCOL_IP6_HOP_BY_HOP_OPTIONS, - udp_ping_local.index); */ + ip6_local_hop_by_hop_register_protocol (IP_PROTOCOL_UDP, + udp_ping_local.index); return 0; } -- cgit 1.2.3-korg