xlat: update NDA_* constants

* xlat/rtnl_neigh_attrs.in (NDA_PROTOCOL): New constant introduced
by Linux kernel commit v5.0-rc1~129^2~79.
* rtnl_neigh.c (ndmsg_nla_decoders): Add NDA_PROTOCOL.
* NEWS: Mention this.
This commit is contained in:
2019-01-05 21:14:42 +00:00
parent 536d2af968
commit d0d79b4b7e
3 changed files with 3 additions and 1 deletions

2
NEWS
View File

@ -2,7 +2,7 @@ Noteworthy changes in release ?.?? (????-??-??)
===============================================
* Improvements
* Updated lists of BPF_*, BTRFS_*, KERN_*, and *_MAGIC constants.
* Updated lists of BPF_*, BTRFS_*, KERN_*, NDA_*, and *_MAGIC constants.
* Bug fixes
* Fixed strace-k test on alpha.

View File

@ -68,6 +68,7 @@ static const nla_decoder_t ndmsg_nla_decoders[] = {
[NDA_MASTER] = decode_nla_ifindex,
[NDA_LINK_NETNSID] = decode_nla_u32,
[NDA_SRC_VNI] = NULL,
[NDA_PROTOCOL] = decode_nla_u8,
};
DECL_NETLINK_ROUTE_DECODER(decode_ndmsg)

View File

@ -10,3 +10,4 @@ NDA_IFINDEX 8
NDA_MASTER 9
NDA_LINK_NETNSID 10
NDA_SRC_VNI 11
NDA_PROTOCOL 12