IP4 Router Alert option handling for IGMP 59/13259/4
authorNeale Ranns <nranns@cisco.com>
Thu, 28 Jun 2018 01:59:03 +0000 (18:59 -0700)
committerDamjan Marion <dmarion@me.com>
Fri, 29 Jun 2018 09:56:16 +0000 (09:56 +0000)
commitc667ffd4af4bb0a0576ceefcc29e3bb086a823c2
treec4b664b55de1c826bd0f8ccb583b6c7ed7dc5d53
parent09fdf9d074430032c27aba9e12e52440c7de2006
IP4 Router Alert option handling for IGMP

and a new ip4-options node, inserted between ip4-input and ip4-punt,
that checks for IP-router-alert option + IGMP combination and sends
the packet to the ip4-local. This is required because some IGMP
packets are sent to the group address and not the all-routers address.
All IGMP packets are sent with the router alert option.

Change-Id: I01f478d4d98ac9f806e0bcba0f6da6e4e7d26e2a
Signed-off-by: Neale Ranns <nranns@cisco.com>
src/vnet.am
src/vnet/ip/ip4_input.c
src/vnet/ip/ip4_input.h
src/vnet/ip/ip4_options.c [new file with mode: 0644]
src/vnet/ip/ip4_packet.h
test/test_igmp.py