e8a856f4bd
* configure.ac (AC_CHECK_TYPES): Check for rta_mfc_stats and rtvia structures in <linux/rtnetlink.h>. * nlattr.c (decode_nla_ifindex): New function. * nlattr.h (decode_nla_ifindex): New prototype. * rtnl_route.c (decode_route_addr, decode_rta_metrics, decode_rta_multipath, decode_rta_cacheinfo, decode_rta_mfc_stats, decode_rtvia, decode_rta_encap_type): New functions. (rta_metrics_nla_decoders, rtmsg_nla_decoders): New arrays. (decode_rtmsg): Use rtmsg_nla_decoders. * xlat/lwtunnel_encap_types.in: New file. * xlat/route_nexthop_flags.in: Likewise. * xlat/rtnl_rta_metrics_attrs.in: Likewise. Co-authored-by: Dmitry V. Levin <ldv@altlinux.org>
18 lines
253 B
Plaintext
18 lines
253 B
Plaintext
RTAX_UNSPEC 0
|
|
RTAX_LOCK 1
|
|
RTAX_MTU 2
|
|
RTAX_WINDOW 3
|
|
RTAX_RTT 4
|
|
RTAX_RTTVAR 5
|
|
RTAX_SSTHRESH 6
|
|
RTAX_CWND 7
|
|
RTAX_ADVMSS 8
|
|
RTAX_REORDERING 9
|
|
RTAX_HOPLIMIT 10
|
|
RTAX_INITCWND 11
|
|
RTAX_FEATURES 12
|
|
RTAX_RTO_MIN 13
|
|
RTAX_INITRWND 14
|
|
RTAX_QUICKACK 15
|
|
RTAX_CC_ALGO 16
|