aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_netlink.txt
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2018-01-10 15:54:07 +0100
committerDmitry Vyukov <dvyukov@google.com>2018-01-11 11:45:22 +0100
commita46637766bbcad3ccb5b18ef9db77bd9244b2341 (patch)
treeb42cfe12a3e014190b32d8143ba41fd4ae415145 /sys/linux/socket_netlink.txt
parent02a19b646c19a4a75c3efc00a32c564eeabb4bdf (diff)
sys/linux: regenerate arm consts + small netlink fixed
Arm was broken on upstream kernel for some time due to some assembler error. Now it seems to be fixed, so regenerate consts. Also fix small issues in new netlink descriptions.
Diffstat (limited to 'sys/linux/socket_netlink.txt')
-rw-r--r--sys/linux/socket_netlink.txt12
1 files changed, 8 insertions, 4 deletions
diff --git a/sys/linux/socket_netlink.txt b/sys/linux/socket_netlink.txt
index 195b45936..9583a540a 100644
--- a/sys/linux/socket_netlink.txt
+++ b/sys/linux/socket_netlink.txt
@@ -83,7 +83,7 @@ iovec_nl {
netlink_msg {
len len[parent, int32]
- type int16[NLMSG_MIN_TYPE:NLMSG_MAX_TYPE]
+ type netlink_random_msg_type
flags flags[netlink_msg_flags, int16]
seq netlink_seq
pid netlink_port_id
@@ -113,6 +113,8 @@ nl_generic_attr_typed {
nl_generic_attr_data [
u32 int32
u64 int64
+ ipv4 ipv4_addr
+ ipv6 ipv6_addr
fd fd
pid pid
uid uid
@@ -139,9 +141,11 @@ nl_mmap_req {
fnumber int32
}
-# Some approximation for protocols for which we don't have precise descriptions.
-define NLMSG_MAX_TYPE NLMSG_MIN_TYPE + 50
-
# Removed (if __KERNEL__ defined) in next-20160229 (commit d1b4c689)
define NETLINK_RX_RING 6
define NETLINK_TX_RING 7
+
+# Some approximation for protocols for which we don't have precise descriptions.
+define NLMSG_MAX_TYPE NLMSG_MIN_TYPE + 50
+
+type netlink_random_msg_type int16[NLMSG_MIN_TYPE:NLMSG_MAX_TYPE]