From 9163872132a3e92f986b1d684badb1dd4482ad8e Mon Sep 17 00:00:00 2001 From: San Mehat Date: Tue, 6 Apr 2010 18:49:49 -0700 Subject: kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32 For: For http://b/issue?id=2576057 Change-Id: I553ca14974aaec4434e384979e0bb7007dcf6033 Signed-off-by: San Mehat --- libc/kernel/common/linux/netlink.h | 11 +++++++++++ 1 file changed, 11 insertions(+) (limited to 'libc/kernel/common/linux/netlink.h') diff --git a/libc/kernel/common/linux/netlink.h b/libc/kernel/common/linux/netlink.h index b6f1c06..75e889a 100644 --- a/libc/kernel/common/linux/netlink.h +++ b/libc/kernel/common/linux/netlink.h @@ -33,8 +33,13 @@ #define NETLINK_KOBJECT_UEVENT 15 #define NETLINK_GENERIC 16 +#define NETLINK_SCSITRANSPORT 18 +#define NETLINK_ECRYPTFS 19 + #define MAX_LINKS 32 +struct net; + struct sockaddr_nl { sa_family_t nl_family; @@ -93,6 +98,8 @@ struct nlmsgerr #define NETLINK_ADD_MEMBERSHIP 1 #define NETLINK_DROP_MEMBERSHIP 2 #define NETLINK_PKTINFO 3 +#define NETLINK_BROADCAST_ERROR 4 +#define NETLINK_NO_ENOBUFS 5 struct nl_pktinfo { @@ -112,6 +119,10 @@ struct nlattr __u16 nla_type; }; +#define NLA_F_NESTED (1 << 15) +#define NLA_F_NET_BYTEORDER (1 << 14) +#define NLA_TYPE_MASK ~(NLA_F_NESTED | NLA_F_NET_BYTEORDER) + #define NLA_ALIGNTO 4 #define NLA_ALIGN(len) (((len) + NLA_ALIGNTO - 1) & ~(NLA_ALIGNTO - 1)) #define NLA_HDRLEN ((int) NLA_ALIGN(sizeof(struct nlattr))) -- cgit v1.1