strace/xlat/rtnl_neightbl_parms_attrs.in
JingPiao Chen bbfc46d638 rtnl_neightbl: decode ndtmsg netlink attributes
* configure.ac (AC_CHECK_TYPES): Check for ndt_config
and ndt_stats structures in <linux/neighbour.h>.
(AC_CHECK_MEMBERS): Check for ndts_table_fulls field in struct ndt_stats.
* rtnl_neightbl.c: Include "xlat/rtnl_neightbl_parms_attrs.h".
(decode_ndt_config, decode_ndta_parms, decode_ndta_parms): New functions.
(ndt_parms_nla_decoders, ndtmsg_nla_decoders): New arrays.
(decode_ndtmsg): Use ndtmsg_nla_decoders.
* xlat/rtnl_neightbl_parms_attrs.in: New file.
2017-09-01 08:41:08 +00:00

20 lines
412 B
Plaintext

NDTPA_UNSPEC 0
NDTPA_IFINDEX 1
NDTPA_REFCNT 2
NDTPA_REACHABLE_TIME 3
NDTPA_BASE_REACHABLE_TIME 4
NDTPA_RETRANS_TIME 5
NDTPA_GC_STALETIME 6
NDTPA_DELAY_PROBE_TIME 7
NDTPA_QUEUE_LEN 8
NDTPA_APP_PROBES 9
NDTPA_UCAST_PROBES 10
NDTPA_MCAST_PROBES 11
NDTPA_ANYCAST_DELAY 12
NDTPA_PROXY_DELAY 13
NDTPA_PROXY_QLEN 14
NDTPA_LOCKTIME 15
NDTPA_QUEUE_LENBYTES 16
NDTPA_MCAST_REPROBES 17
NDTPA_PAD 18