6c3f75ecfa
* nlattr.h (DECL_NLA(ip_proto), DECL_NLA(rt_proto)): New declarations. * nlattr.c (decode_nla_ip_proto): New function. * rtnl_route.c (decode_nla_rt_proto): Likewise. * rtnl_rule.c (decode_rule_port_rang): Likewise. (fib_rule_hdr_nla_decoders) <[FRA_PROTOCOL]>: New attribute, introduced by Linux commit v4.17-rc1~148^2~371. (fib_rule_hdr_nla_decoders) <[FRA_IP_PROTO], [FRA_SPORT_RANGE], [FRA_DPORT_RANGE]>: New attributes, introduced by Linux commit v4.17-rc1~148^2~328^2~4. * xlat/rtnl_rule_attrs.in (FRA_PROTOCOL, FRA_IP_PROTO, FRA_SPORT_RANGE, FRA_DPORT_RANGE): New constants. Co-Authored-by: Dmitry V. Levin <ldv@altlinux.org>
26 lines
399 B
Plaintext
26 lines
399 B
Plaintext
FRA_UNSPEC 0
|
|
FRA_DST 1
|
|
FRA_SRC 2
|
|
FRA_IIFNAME 3
|
|
FRA_GOTO 4
|
|
FRA_UNUSED2 5
|
|
FRA_PRIORITY 6
|
|
FRA_UNUSED3 7
|
|
FRA_UNUSED4 8
|
|
FRA_UNUSED5 9
|
|
FRA_FWMARK 10
|
|
FRA_FLOW 11
|
|
FRA_TUN_ID 12
|
|
FRA_SUPPRESS_IFGROUP 13
|
|
FRA_SUPPRESS_PREFIXLEN 14
|
|
FRA_TABLE 15
|
|
FRA_FWMASK 16
|
|
FRA_OIFNAME 17
|
|
FRA_PAD 18
|
|
FRA_L3MDEV 19
|
|
FRA_UID_RANGE 20
|
|
FRA_PROTOCOL 21
|
|
FRA_IP_PROTO 22
|
|
FRA_SPORT_RANGE 23
|
|
FRA_DPORT_RANGE 24
|