diff options
author | San Mehat <san@google.com> | 2010-04-06 18:49:49 -0700 |
---|---|---|
committer | San Mehat <san@google.com> | 2010-04-06 18:54:22 -0700 |
commit | 9163872132a3e92f986b1d684badb1dd4482ad8e (patch) | |
tree | 00a1b93b30fe23fe0f72eb0f2aec173354c00043 /libc/kernel/common/linux/netlink.h | |
parent | 7e0bfb511e85834d7c6cb9631206b62f82701d60 (diff) | |
download | bionic-9163872132a3e92f986b1d684badb1dd4482ad8e.zip bionic-9163872132a3e92f986b1d684badb1dd4482ad8e.tar.gz bionic-9163872132a3e92f986b1d684badb1dd4482ad8e.tar.bz2 |
kernel_headers: Update rtnetlink/pkt_sched headers for 2.6.32android-sdk-tools_r6android-sdk-2.2_r2android-sdk-2.2_r1android-cts-2.2_r7android-cts-2.2_r6android-cts-2.2_r5android-cts-2.2_r4android-cts-2.2_r3android-cts-2.2_r2android-cts-2.2_r1android-2.2_r1.3android-2.2_r1.2android-2.2_r1.1android-2.2_r1android-2.2.2_r1android-2.2.1_r2android-2.2.1_r1
For: For http://b/issue?id=2576057
Change-Id: I553ca14974aaec4434e384979e0bb7007dcf6033
Signed-off-by: San Mehat <san@google.com>
Diffstat (limited to 'libc/kernel/common/linux/netlink.h')
-rw-r--r-- | libc/kernel/common/linux/netlink.h | 11 |
1 files changed, 11 insertions, 0 deletions
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))) |