From 8e23507a638e4371618913d776e1e69c418e4995 Mon Sep 17 00:00:00 2001 From: Stephen Worley Date: Wed, 26 Jan 2022 00:01:08 -0500 Subject: [PATCH] include: bump if_netlink.h version for protodown Bump if_netlink.h UAPI files for protodown netlink processing. Signed-off-by: Stephen Worley --- include/linux/if_link.h | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/include/linux/if_link.h b/include/linux/if_link.h index 22a45914a2..e5cea27829 100644 --- a/include/linux/if_link.h +++ b/include/linux/if_link.h @@ -167,12 +167,25 @@ enum { IFLA_NEW_IFINDEX, IFLA_MIN_MTU, IFLA_MAX_MTU, + IFLA_PROP_LIST, + IFLA_ALT_IFNAME, /* Alternative ifname */ + IFLA_PERM_ADDRESS, + IFLA_PROTO_DOWN_REASON, __IFLA_MAX }; #define IFLA_MAX (__IFLA_MAX - 1) +enum { + IFLA_PROTO_DOWN_REASON_UNSPEC, + IFLA_PROTO_DOWN_REASON_MASK, /* u32, mask for reason bits */ + IFLA_PROTO_DOWN_REASON_VALUE, /* u32, reason bit value */ + + __IFLA_PROTO_DOWN_REASON_CNT, + IFLA_PROTO_DOWN_REASON_MAX = __IFLA_PROTO_DOWN_REASON_CNT - 1 +}; + /* backwards compatibility for userspace */ #ifndef __KERNEL__ #define IFLA_RTA(r) ((struct rtattr*)(((char*)(r)) + NLMSG_ALIGN(sizeof(struct ifinfomsg)))) -- 2.39.5