]> git.puffer.fish Git - matthieu/frr.git/commit
lib, zebra: complete the ndm flags on zclient api
authorPhilippe Guibert <philippe.guibert@6wind.com>
Wed, 25 Aug 2021 09:46:42 +0000 (11:46 +0200)
committerPhilippe Guibert <philippe.guibert@6wind.com>
Thu, 26 Aug 2021 07:19:42 +0000 (09:19 +0200)
commit80f6b5faeb62b9d201ddb55af847638dfb88dc8f
tree81ca0b4949a5b5c95f17107a1099a7245ff5f013
parentc4e1fd52a149a4686b9c1ff1dd4b3a24740eb03b
lib, zebra: complete the ndm flags on zclient api

Insist on the fact that zclient neighbor state flags are
mapped over netlink state flags. List all the defines
currently known on kernel, and create a netlink API to
convert netlink values to zclient values. The function is
simplified as it is a 1-1 match.

Signed-off-by: Philippe Guibert <philippe.guibert@6wind.com>
lib/zclient.h
zebra/rt_netlink.c