]> git.puffer.fish Git - mirror/frr.git/commit
zebra: add netlink tunnel msg to dump routine 11216/head
authorChirag Shah <chirag@nvidia.com>
Tue, 17 May 2022 05:52:54 +0000 (22:52 -0700)
committerChirag Shah <chirag@nvidia.com>
Wed, 18 May 2022 14:56:44 +0000 (07:56 -0700)
commit42ed3bd77f418cc8c14465c15b57770a59aeaa37
tree77004647a7aa672327a66e4a74d874fdd016f48b
parent47e2eb270d4cd1c73440ea6b4367ab02b78f2ed4
zebra: add netlink tunnel msg to dump routine

This patch parses vxlan vnifilter rtm tunnel
message which contains vni mapping to vxlan device.
The new notifications are RTM_NEWTUNNEL,
RTM_DELTUNNEL, and RTM_GETTUNNEL.

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/
linux.git/commit/?h=v5.18-rc7&id=7b8135f4df98b155b23754b6065c157861e268f1

Testing Done:

2022/05/18 00:34:25 ZEBRA: netlink_recv_msg: << netlink message dump
[recv]
2022/05/18 00:34:25 ZEBRA: nlmsghdr [len=36 type=(120) NEWTUNNEL
flags=(0x0000) {} seq=0 pid=0]
2022/05/18 00:34:25 ZEBRA:   tnlm [family=(7) AF_BRIDGE ifindex=46
2022/05/18 00:34:25 ZEBRA:   vni_start 4001, vni_end 0

Signed-off-by: Chirag Shah <chirag@nvidia.com>
zebra/debug_nl.c