From: Eugene Syromyatnikov Date: Thu, 1 Nov 2018 16:29:29 +0000 (+0100) Subject: xlat: update neighbor_cache_entry_flags X-Git-Tag: v4.26~11 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3d913d5fb9ffbd7a229c4c2d7b392f419e97dc8;p=strace xlat: update neighbor_cache_entry_flags * xlat/neighbor_cache_entry_flags.in (NTF_OFFLOADED): New constant, introduced by Linux commit v4.13-rc1~157^2~252^2~13. (NTF_STICKY): New constant, introduced by Linux commit v4.20-rc1~14^2~392. (NTF_USE, NTF_SELF, NTF_MASTER, NTF_PROXY, NTF_EXT_LEARNED, NTF_ROUTER): Add fallback definitions. * NEWS: Mention this. Co-Authored-by: Dmitry V. Levin --- diff --git a/NEWS b/NEWS index da99cb16..0039d27f 100644 --- a/NEWS +++ b/NEWS @@ -23,7 +23,7 @@ Noteworthy changes in release ?.?? (????-??-??) * Enhanced decoding of getsockopt SO_ERROR option. * Enhanced error diagnostics when the first exec fails. * Added %net as a short form of %network in syscall specifications. - * Updated lists of BPF_*, FAN_*, IFLA_*, NETLINK_*, SOL_*, and TCA_* + * Updated lists of BPF_*, FAN_*, IFLA_*, NETLINK_*, NTF_*, SOL_*, and TCA_* constants. * Enhanced manual page. diff --git a/xlat/neighbor_cache_entry_flags.in b/xlat/neighbor_cache_entry_flags.in index 6a210f52..0f0a83eb 100644 --- a/xlat/neighbor_cache_entry_flags.in +++ b/xlat/neighbor_cache_entry_flags.in @@ -1,6 +1,8 @@ -NTF_USE -NTF_SELF -NTF_MASTER -NTF_PROXY -NTF_EXT_LEARNED -NTF_ROUTER +NTF_USE 0x01 +NTF_SELF 0x02 +NTF_MASTER 0x04 +NTF_PROXY 0x08 +NTF_EXT_LEARNED 0x10 +NTF_OFFLOADED 0x20 +NTF_STICKY 0x40 +NTF_ROUTER 0x80