strace/xlat/rtnl_ifla_xdp_attrs.in
Eugene Syromyatnikov eded21f5c0 rtnl_link: add new IFLA_XDP_* attributes
Introduced by Linux commit v4.19-rc1~140^2~364^2~6^2~6.

* xlat/rtnl_ifla_xdp_attrs.in (IFLA_XDP_DRV_PROG_ID,
IFLA_XDP_SKB_PROG_ID, IFLA_XDP_HW_PROG_ID): New constants.
* rtnl_link.c (ifla_xdp_nla_decoders): Add decoders for
IFLA_XDP_DRV_PROG_ID, IFLA_XDP_SKB_PROG_ID, and IFLA_XDP_HW_PROG_ID.
* tests/nlattr_ifla_xdp.c: Add checks for new attributes.
2018-08-27 23:41:41 +00:00

9 lines
159 B
Plaintext

IFLA_XDP_UNSPEC 0
IFLA_XDP_FD 1
IFLA_XDP_ATTACHED 2
IFLA_XDP_FLAGS 3
IFLA_XDP_PROG_ID 4
IFLA_XDP_DRV_PROG_ID 5
IFLA_XDP_SKB_PROG_ID 6
IFLA_XDP_HW_PROG_ID 7