aboutsummaryrefslogtreecommitdiffstats
path: root/sys
diff options
context:
space:
mode:
authorAndrey Konovalov <andreyknvl@google.com>2017-03-07 16:18:11 +0100
committerDmitry Vyukov <dvyukov@google.com>2017-09-01 17:17:33 +0200
commit76bc1b9d35f71097cbe21873f6bc2a3689260475 (patch)
tree9a829765a7ecd5be801f019f611600f8c6781d7e /sys
parentd9a07bf6e91352d62f8894cd4bd458923dbe349d (diff)
sys: add AF_PACKET sockets description
Diffstat (limited to 'sys')
-rwxr-xr-xsys/extract.sh2
-rw-r--r--sys/socket.txt2
-rw-r--r--sys/socket_packet.txt109
-rw-r--r--sys/socket_packet_386.const73
-rw-r--r--sys/socket_packet_amd64.const74
-rw-r--r--sys/socket_packet_arm.const74
-rw-r--r--sys/socket_packet_arm64.const74
-rw-r--r--sys/socket_packet_ppc64le.const74
-rw-r--r--sys/sys_386.go289
-rw-r--r--sys/sys_amd64.go290
-rw-r--r--sys/sys_arm.go290
-rw-r--r--sys/sys_arm64.go290
-rw-r--r--sys/sys_ppc64le.go290
13 files changed, 1929 insertions, 2 deletions
diff --git a/sys/extract.sh b/sys/extract.sh
index c8ea9f9a3..1950a8441 100755
--- a/sys/extract.sh
+++ b/sys/extract.sh
@@ -29,7 +29,7 @@ UPSTREAM_FILES="sys/bpf.txt sys/dri.txt sys/fuse.txt sys/input.txt sys/ipc.txt
sys/socket_kcm.txt sys/socket_key.txt sys/socket_netlink.txt
sys/socket_netrom.txt sys/socket_nfc.txt sys/socket_unix.txt
sys/socket_ipx.txt sys/socket_ax25.txt sys/socket_llc.txt
- sys/xattr.txt"
+ sys/socket_packet.txt sys/xattr.txt"
ANDROID_FILES="sys/tlk_device.txt sys/ion.txt"
diff --git a/sys/socket.txt b/sys/socket.txt
index 0824ea239..f5423c7ac 100644
--- a/sys/socket.txt
+++ b/sys/socket.txt
@@ -106,7 +106,7 @@ sockaddr_storage [
# TODO: AF_ROSE
# TODO: AF_DECnet
nl sockaddr_nl
-# TODO: AF_PACKET
+ ll sockaddr_ll
# TODO: AF_ATMSVC
# TODO: AF_RDS
# TODO: AF_IRDA
diff --git a/sys/socket_packet.txt b/sys/socket_packet.txt
new file mode 100644
index 000000000..b08ac157d
--- /dev/null
+++ b/sys/socket_packet.txt
@@ -0,0 +1,109 @@
+# Copyright 2017 syzkaller project authors. All rights reserved.
+# Use of this source code is governed by Apache 2 LICENSE that can be found in the LICENSE file.
+
+# http://man7.org/linux/man-pages/man7/packet.7.html
+# https://www.kernel.org/doc/Documentation/networking/packet_mmap.txt
+
+# AF_PACKET support.
+
+include <linux/socket.h>
+include <linux/net.h>
+include <linux/if_ether.h>
+include <linux/if_arp.h>
+
+define ETH_P_ALL_BE htons(ETH_P_ALL)
+
+resource sock_packet[sock]
+
+socket$packet(domain const[AF_PACKET], type flags[packet_socket_type], proto const[ETH_P_ALL_BE]) sock_packet
+socketpair$packet(domain const[AF_PACKET], type flags[packet_socket_type], proto const[ETH_P_ALL_BE], fds ptr[out, packet_pair])
+bind$packet(fd sock_packet, addr ptr[in, sockaddr_ll], addrlen len[addr])
+connect$packet(fd sock_packet, addr ptr[in, sockaddr_ll], addrlen len[addr])
+accept$packet(fd sock_packet, peer ptr[out, sockaddr_ll, opt], peerlen ptr[inout, len[peer, int32]]) sock_packet
+accept4$packet(fd sock_packet, peer ptr[out, sockaddr_ll, opt], peerlen ptr[inout, len[peer, int32]], flags flags[accept_flags]) sock_packet
+
+sendto$packet(fd sock_packet, buf buffer[in], len len[buf], f flags[send_flags], addr ptr[in, sockaddr_ll, opt], addrlen len[addr])
+recvfrom$packet(fd sock_packet, buf buffer[out], len len[buf], f flags[recv_flags], addr ptr[in, sockaddr_ll, opt], addrlen len[addr])
+getsockname$packet(fd sock_packet, addr ptr[out, sockaddr_ll], addrlen ptr[inout, len[addr, int32]])
+getpeername$packet(fd sock_packet, peer ptr[out, sockaddr_ll], peerlen ptr[inout, len[peer, int32]])
+
+packet_socket_type = SOCK_RAW, SOCK_DGRAM
+packet_protocols = ETH_P_802_3, ETH_P_AX25, ETH_P_ALL, ETH_P_802_2, ETH_P_SNAP, ETH_P_DDCMP, ETH_P_WAN_PPP, ETH_P_PPP_MP, ETH_P_LOCALTALK, ETH_P_CAN, ETH_P_CANFD, ETH_P_PPPTALK, ETH_P_TR_802_2, ETH_P_MOBITEX, ETH_P_CONTROL, ETH_P_IRDA, ETH_P_ECONET, ETH_P_HDLC, ETH_P_ARCNET, ETH_P_DSA, ETH_P_TRAILER, ETH_P_PHONET, ETH_P_IEEE802154, ETH_P_CAIF, ETH_P_XDSA
+
+packet_pair {
+ fd0 sock_packet
+ fd1 sock_packet
+}
+
+sockaddr_ll {
+ sll_family const[AF_PACKET, int16]
+ sll_protocol flags[packet_protocols, int16be]
+ sll_ifindex ifindex
+ sll_hatype const[ARPHRD_ETHER, int16]
+ sll_pkttype int8
+ sll_halen const[6, int8]
+ sll_addr mac_addr
+ pad array[const[0, int8], 2]
+}
+
+# Generic options
+
+packet_option_types_int = PACKET_RECV_OUTPUT, PACKET_COPY_THRESH, PACKET_AUXDATA, PACKET_ORIGDEV, PACKET_VERSION, PACKET_HDRLEN, PACKET_RESERVE, PACKET_LOSS, PACKET_VNET_HDR, PACKET_TX_TIMESTAMP, PACKET_TIMESTAMP, PACKET_FANOUT, PACKET_TX_HAS_OFF, PACKET_QDISC_BYPASS
+
+packet_option_types_buf = PACKET_ADD_MEMBERSHIP, PACKET_DROP_MEMBERSHIP, PACKET_RX_RING, PACKET_STATISTICS, PACKET_TX_RING, PACKET_FANOUT_DATA
+
+getsockopt$packet_int(fd sock_packet, level const[SOL_PACKET], optname flags[packet_option_types_int], optval ptr[out, int32], optlen ptr[inout, len[optval, int32]])
+setsockopt$packet_int(fd sock_packet, level const[SOL_PACKET], optname flags[packet_option_types_int], optval ptr[in, int32], optlen len[optval])
+getsockopt$packet_buf(fd sock_packet, level const[SOL_PACKET], optname flags[packet_option_types_buf], optval buffer[out], optlen ptr[inout, len[optval, int32]])
+setsockopt$packet_buf(fd sock_packet, level const[SOL_PACKET], optname flags[packet_option_types_buf], optval buffer[in], optlen len[optval])
+
+# Specific options
+
+packet_mreq {
+ mr_ifindex ifindex
+ mr_type const[ARPHRD_ETHER, int16]
+ mr_alen len[mr_address, int16]
+ mr_address mac_addr
+ pad array[const[0, int8], 2]
+}
+
+setsockopt$packet_add_memb(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_ADD_MEMBERSHIP], optval ptr[in, packet_mreq], optlen len[optval])
+setsockopt$packet_drop_memb(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_DROP_MEMBERSHIP], optval ptr[in, packet_mreq], optlen len[optval])
+
+tpacket_req {
+ tp_block_size int32
+ tp_block_nr int32
+ tp_frame_size int32
+ tp_frame_nr int32
+}
+
+tpacket_req3 {
+ tp_block_size int32
+ tp_block_nr int32
+ tp_frame_size int32
+ tp_frame_nr int32
+ tp_retire_blk_tov int32
+ tp_sizeof_priv int32
+ tp_feature_req_word int32
+}
+
+tpacket_req_u [
+ req tpacket_req
+ req3 tpacket_req3
+] [varlen]
+
+setsockopt$packet_rx_ring(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_RX_RING], optval ptr[in, tpacket_req_u], optlen len[optval])
+setsockopt$packet_tx_ring(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_TX_RING], optval ptr[in, tpacket_req_u], optlen len[optval])
+
+packet_fanout_types = PACKET_FANOUT_HASH, PACKET_FANOUT_LB, PACKET_FANOUT_CPU, PACKET_FANOUT_ROLLOVER, PACKET_FANOUT_RND, PACKET_FANOUT_QM, PACKET_FANOUT_CBPF, PACKET_FANOUT_EBPF
+packet_fanout_flags = PACKET_FANOUT_FLAG_ROLLOVER, PACKET_FANOUT_FLAG_DEFRAG
+
+packet_fanout_val {
+ id int16
+ type flags[packet_fanout_types, int8]
+ flags flags[packet_fanout_flags, int8]
+}
+
+setsockopt$packet_fanout(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_FANOUT], optval ptr[in, packet_fanout_val], optlen len[optval])
+
+setsockopt$packet_fanout_data(fd sock_packet, level const[SOL_PACKET], optname const[PACKET_FANOUT_DATA], optval ptr[in, sock_fprog], optlen len[optval])
diff --git a/sys/socket_packet_386.const b/sys/socket_packet_386.const
new file mode 100644
index 000000000..eb2322b14
--- /dev/null
+++ b/sys/socket_packet_386.const
@@ -0,0 +1,73 @@
+# AUTOGENERATED FILE
+AF_PACKET = 17
+ARPHRD_ETHER = 1
+ETH_P_802_2 = 4
+ETH_P_802_3 = 1
+ETH_P_ALL = 3
+ETH_P_ALL_BE = 768
+ETH_P_ARCNET = 26
+ETH_P_AX25 = 2
+ETH_P_CAIF = 247
+ETH_P_CAN = 12
+ETH_P_CANFD = 13
+ETH_P_CONTROL = 22
+ETH_P_DDCMP = 6
+ETH_P_DSA = 27
+ETH_P_ECONET = 24
+ETH_P_HDLC = 25
+ETH_P_IEEE802154 = 246
+ETH_P_IRDA = 23
+ETH_P_LOCALTALK = 9
+ETH_P_MOBITEX = 21
+ETH_P_PHONET = 245
+ETH_P_PPPTALK = 16
+ETH_P_PPP_MP = 8
+ETH_P_SNAP = 5
+ETH_P_TRAILER = 28
+ETH_P_TR_802_2 = 17
+ETH_P_WAN_PPP = 7
+ETH_P_XDSA = 248
+PACKET_ADD_MEMBERSHIP = 1
+PACKET_AUXDATA = 8
+PACKET_COPY_THRESH = 7
+PACKET_DROP_MEMBERSHIP = 2
+PACKET_FANOUT = 18
+PACKET_FANOUT_CBPF = 6
+PACKET_FANOUT_CPU = 2
+PACKET_FANOUT_DATA = 22
+PACKET_FANOUT_EBPF = 7
+PACKET_FANOUT_FLAG_DEFRAG = 32768
+PACKET_FANOUT_FLAG_ROLLOVER = 4096
+PACKET_FANOUT_HASH = 0
+PACKET_FANOUT_LB = 1
+PACKET_FANOUT_QM = 5
+PACKET_FANOUT_RND = 4
+PACKET_FANOUT_ROLLOVER = 3
+PACKET_HDRLEN = 11
+PACKET_LOSS = 14
+PACKET_ORIGDEV = 9
+PACKET_QDISC_BYPASS = 20
+PACKET_RECV_OUTPUT = 3
+PACKET_RESERVE = 12
+PACKET_RX_RING = 5
+PACKET_STATISTICS = 6
+PACKET_TIMESTAMP = 17
+PACKET_TX_HAS_OFF = 19
+PACKET_TX_RING = 13
+PACKET_TX_TIMESTAMP = 16
+PACKET_VERSION = 10
+PACKET_VNET_HDR = 15
+SOCK_DGRAM = 2
+SOCK_RAW = 3
+SOL_PACKET = 263
+__NR_accept4 = 364
+__NR_bind = 361
+__NR_connect = 362
+__NR_getpeername = 368
+__NR_getsockname = 367
+__NR_getsockopt = 365
+__NR_recvfrom = 371
+__NR_sendto = 369
+__NR_setsockopt = 366
+__NR_socket = 359
+__NR_socketpair = 360
diff --git a/sys/socket_packet_amd64.const b/sys/socket_packet_amd64.const
new file mode 100644
index 000000000..64b851f6f
--- /dev/null
+++ b/sys/socket_packet_amd64.const
@@ -0,0 +1,74 @@
+# AUTOGENERATED FILE
+AF_PACKET = 17
+ARPHRD_ETHER = 1
+ETH_P_802_2 = 4
+ETH_P_802_3 = 1
+ETH_P_ALL = 3
+ETH_P_ALL_BE = 768
+ETH_P_ARCNET = 26
+ETH_P_AX25 = 2
+ETH_P_CAIF = 247
+ETH_P_CAN = 12
+ETH_P_CANFD = 13
+ETH_P_CONTROL = 22
+ETH_P_DDCMP = 6
+ETH_P_DSA = 27
+ETH_P_ECONET = 24
+ETH_P_HDLC = 25
+ETH_P_IEEE802154 = 246
+ETH_P_IRDA = 23
+ETH_P_LOCALTALK = 9
+ETH_P_MOBITEX = 21
+ETH_P_PHONET = 245
+ETH_P_PPPTALK = 16
+ETH_P_PPP_MP = 8
+ETH_P_SNAP = 5
+ETH_P_TRAILER = 28
+ETH_P_TR_802_2 = 17
+ETH_P_WAN_PPP = 7
+ETH_P_XDSA = 248
+PACKET_ADD_MEMBERSHIP = 1
+PACKET_AUXDATA = 8
+PACKET_COPY_THRESH = 7
+PACKET_DROP_MEMBERSHIP = 2
+PACKET_FANOUT = 18
+PACKET_FANOUT_CBPF = 6
+PACKET_FANOUT_CPU = 2
+PACKET_FANOUT_DATA = 22
+PACKET_FANOUT_EBPF = 7
+PACKET_FANOUT_FLAG_DEFRAG = 32768
+PACKET_FANOUT_FLAG_ROLLOVER = 4096
+PACKET_FANOUT_HASH = 0
+PACKET_FANOUT_LB = 1
+PACKET_FANOUT_QM = 5
+PACKET_FANOUT_RND = 4
+PACKET_FANOUT_ROLLOVER = 3
+PACKET_HDRLEN = 11
+PACKET_LOSS = 14
+PACKET_ORIGDEV = 9
+PACKET_QDISC_BYPASS = 20
+PACKET_RECV_OUTPUT = 3
+PACKET_RESERVE = 12
+PACKET_RX_RING = 5
+PACKET_STATISTICS = 6
+PACKET_TIMESTAMP = 17
+PACKET_TX_HAS_OFF = 19
+PACKET_TX_RING = 13
+PACKET_TX_TIMESTAMP = 16
+PACKET_VERSION = 10
+PACKET_VNET_HDR = 15
+SOCK_DGRAM = 2
+SOCK_RAW = 3
+SOL_PACKET = 263
+__NR_accept = 43
+__NR_accept4 = 288
+__NR_bind = 49
+__NR_connect = 42
+__NR_getpeername = 52
+__NR_getsockname = 51
+__NR_getsockopt = 55
+__NR_recvfrom = 45
+__NR_sendto = 44
+__NR_setsockopt = 54
+__NR_socket = 41
+__NR_socketpair = 53
diff --git a/sys/socket_packet_arm.const b/sys/socket_packet_arm.const
new file mode 100644
index 000000000..563871304
--- /dev/null
+++ b/sys/socket_packet_arm.const
@@ -0,0 +1,74 @@
+# AUTOGENERATED FILE
+AF_PACKET = 17
+ARPHRD_ETHER = 1
+ETH_P_802_2 = 4
+ETH_P_802_3 = 1
+ETH_P_ALL = 3
+ETH_P_ALL_BE = 768
+ETH_P_ARCNET = 26
+ETH_P_AX25 = 2
+ETH_P_CAIF = 247
+ETH_P_CAN = 12
+ETH_P_CANFD = 13
+ETH_P_CONTROL = 22
+ETH_P_DDCMP = 6
+ETH_P_DSA = 27
+ETH_P_ECONET = 24
+ETH_P_HDLC = 25
+ETH_P_IEEE802154 = 246
+ETH_P_IRDA = 23
+ETH_P_LOCALTALK = 9
+ETH_P_MOBITEX = 21
+ETH_P_PHONET = 245
+ETH_P_PPPTALK = 16
+ETH_P_PPP_MP = 8
+ETH_P_SNAP = 5
+ETH_P_TRAILER = 28
+ETH_P_TR_802_2 = 17
+ETH_P_WAN_PPP = 7
+ETH_P_XDSA = 248
+PACKET_ADD_MEMBERSHIP = 1
+PACKET_AUXDATA = 8
+PACKET_COPY_THRESH = 7
+PACKET_DROP_MEMBERSHIP = 2
+PACKET_FANOUT = 18
+PACKET_FANOUT_CBPF = 6
+PACKET_FANOUT_CPU = 2
+PACKET_FANOUT_DATA = 22
+PACKET_FANOUT_EBPF = 7
+PACKET_FANOUT_FLAG_DEFRAG = 32768
+PACKET_FANOUT_FLAG_ROLLOVER = 4096
+PACKET_FANOUT_HASH = 0
+PACKET_FANOUT_LB = 1
+PACKET_FANOUT_QM = 5
+PACKET_FANOUT_RND = 4
+PACKET_FANOUT_ROLLOVER = 3
+PACKET_HDRLEN = 11
+PACKET_LOSS = 14
+PACKET_ORIGDEV = 9
+PACKET_QDISC_BYPASS = 20
+PACKET_RECV_OUTPUT = 3
+PACKET_RESERVE = 12
+PACKET_RX_RING = 5
+PACKET_STATISTICS = 6
+PACKET_TIMESTAMP = 17
+PACKET_TX_HAS_OFF = 19
+PACKET_TX_RING = 13
+PACKET_TX_TIMESTAMP = 16
+PACKET_VERSION = 10
+PACKET_VNET_HDR = 15
+SOCK_DGRAM = 2
+SOCK_RAW = 3
+SOL_PACKET = 263
+__NR_accept = 9437469
+__NR_accept4 = 9437550
+__NR_bind = 9437466
+__NR_connect = 9437467
+__NR_getpeername = 9437471
+__NR_getsockname = 9437470
+__NR_getsockopt = 9437479
+__NR_recvfrom = 9437476
+__NR_sendto = 9437474
+__NR_setsockopt = 9437478
+__NR_socket = 9437465
+__NR_socketpair = 9437472
diff --git a/sys/socket_packet_arm64.const b/sys/socket_packet_arm64.const
new file mode 100644
index 000000000..655d9aff9
--- /dev/null
+++ b/sys/socket_packet_arm64.const
@@ -0,0 +1,74 @@
+# AUTOGENERATED FILE
+AF_PACKET = 17
+ARPHRD_ETHER = 1
+ETH_P_802_2 = 4
+ETH_P_802_3 = 1
+ETH_P_ALL = 3
+ETH_P_ALL_BE = 768
+ETH_P_ARCNET = 26
+ETH_P_AX25 = 2
+ETH_P_CAIF = 247
+ETH_P_CAN = 12
+ETH_P_CANFD = 13
+ETH_P_CONTROL = 22
+ETH_P_DDCMP = 6
+ETH_P_DSA = 27
+ETH_P_ECONET = 24
+ETH_P_HDLC = 25
+ETH_P_IEEE802154 = 246
+ETH_P_IRDA = 23
+ETH_P_LOCALTALK = 9
+ETH_P_MOBITEX = 21
+ETH_P_PHONET = 245
+ETH_P_PPPTALK = 16
+ETH_P_PPP_MP = 8
+ETH_P_SNAP = 5
+ETH_P_TRAILER = 28
+ETH_P_TR_802_2 = 17
+ETH_P_WAN_PPP = 7
+ETH_P_XDSA = 248
+PACKET_ADD_MEMBERSHIP = 1
+PACKET_AUXDATA = 8
+PACKET_COPY_THRESH = 7
+PACKET_DROP_MEMBERSHIP = 2
+PACKET_FANOUT = 18
+PACKET_FANOUT_CBPF = 6
+PACKET_FANOUT_CPU = 2
+PACKET_FANOUT_DATA = 22
+PACKET_FANOUT_EBPF = 7
+PACKET_FANOUT_FLAG_DEFRAG = 32768
+PACKET_FANOUT_FLAG_ROLLOVER = 4096
+PACKET_FANOUT_HASH = 0
+PACKET_FANOUT_LB = 1
+PACKET_FANOUT_QM = 5
+PACKET_FANOUT_RND = 4
+PACKET_FANOUT_ROLLOVER = 3
+PACKET_HDRLEN = 11
+PACKET_LOSS = 14
+PACKET_ORIGDEV = 9
+PACKET_QDISC_BYPASS = 20
+PACKET_RECV_OUTPUT = 3
+PACKET_RESERVE = 12
+PACKET_RX_RING = 5
+PACKET_STATISTICS = 6
+PACKET_TIMESTAMP = 17
+PACKET_TX_HAS_OFF = 19
+PACKET_TX_RING = 13
+PACKET_TX_TIMESTAMP = 16
+PACKET_VERSION = 10
+PACKET_VNET_HDR = 15
+SOCK_DGRAM = 2
+SOCK_RAW = 3
+SOL_PACKET = 263
+__NR_accept = 202
+__NR_accept4 = 242
+__NR_bind = 200
+__NR_connect = 203
+__NR_getpeername = 205
+__NR_getsockname = 204
+__NR_getsockopt = 209
+__NR_recvfrom = 207
+__NR_sendto = 206
+__NR_setsockopt = 208
+__NR_socket = 198
+__NR_socketpair = 199
diff --git a/sys/socket_packet_ppc64le.const b/sys/socket_packet_ppc64le.const
new file mode 100644
index 000000000..dab8df130
--- /dev/null
+++ b/sys/socket_packet_ppc64le.const
@@ -0,0 +1,74 @@
+# AUTOGENERATED FILE
+AF_PACKET = 17
+ARPHRD_ETHER = 1
+ETH_P_802_2 = 4
+ETH_P_802_3 = 1
+ETH_P_ALL = 3
+ETH_P_ALL_BE = 3
+ETH_P_ARCNET = 26
+ETH_P_AX25 = 2
+ETH_P_CAIF = 247
+ETH_P_CAN = 12
+ETH_P_CANFD = 13
+ETH_P_CONTROL = 22
+ETH_P_DDCMP = 6
+ETH_P_DSA = 27
+ETH_P_ECONET = 24
+ETH_P_HDLC = 25
+ETH_P_IEEE802154 = 246
+ETH_P_IRDA = 23
+ETH_P_LOCALTALK = 9
+ETH_P_MOBITEX = 21
+ETH_P_PHONET = 245
+ETH_P_PPPTALK = 16
+ETH_P_PPP_MP = 8
+ETH_P_SNAP = 5
+ETH_P_TRAILER = 28
+ETH_P_TR_802_2 = 17
+ETH_P_WAN_PPP = 7
+ETH_P_XDSA = 248
+PACKET_ADD_MEMBERSHIP = 1
+PACKET_AUXDATA = 8
+PACKET_COPY_THRESH = 7
+PACKET_DROP_MEMBERSHIP = 2
+PACKET_FANOUT = 18
+PACKET_FANOUT_CBPF = 6
+PACKET_FANOUT_CPU = 2
+PACKET_FANOUT_DATA = 22
+PACKET_FANOUT_EBPF = 7
+PACKET_FANOUT_FLAG_DEFRAG = 32768
+PACKET_FANOUT_FLAG_ROLLOVER = 4096
+PACKET_FANOUT_HASH = 0
+PACKET_FANOUT_LB = 1
+PACKET_FANOUT_QM = 5
+PACKET_FANOUT_RND = 4
+PACKET_FANOUT_ROLLOVER = 3
+PACKET_HDRLEN = 11
+PACKET_LOSS = 14
+PACKET_ORIGDEV = 9
+PACKET_QDISC_BYPASS = 20
+PACKET_RECV_OUTPUT = 3
+PACKET_RESERVE = 12
+PACKET_RX_RING = 5
+PACKET_STATISTICS = 6
+PACKET_TIMESTAMP = 17
+PACKET_TX_HAS_OFF = 19
+PACKET_TX_RING = 13
+PACKET_TX_TIMESTAMP = 16
+PACKET_VERSION = 10
+PACKET_VNET_HDR = 15
+SOCK_DGRAM = 2
+SOCK_RAW = 3
+SOL_PACKET = 263
+__NR_accept = 330
+__NR_accept4 = 344
+__NR_bind = 327
+__NR_connect = 328
+__NR_getpeername = 332
+__NR_getsockname = 331
+__NR_getsockopt = 340
+__NR_recvfrom = 337
+__NR_sendto = 335
+__NR_setsockopt = 339
+__NR_socket = 326
+__NR_socketpair = 333
diff --git a/sys/sys_386.go b/sys/sys_386.go
index ffb91a193..3c30bf116 100644
--- a/sys/sys_386.go
+++ b/sys/sys_386.go
@@ -78,6 +78,7 @@ var resourceArray = []*ResourceDesc{
&ResourceDesc{Name: "sock_netrom", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_nfc_llcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_nfc_raw", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
+ &ResourceDesc{Name: "sock_packet", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_packet"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_sctp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in", "sock_sctp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_sctp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in6", "sock_sctp6"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_tcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in", "sock_tcp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
@@ -498,6 +499,9 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "netlink_msg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "nfc_llcp_send_msghdr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "nl_mmap_req", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_mreq", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "perf_event_attr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "pipefd", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "pollfd", IsOptional: false}},
@@ -607,6 +611,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_in6", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ipx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_l2", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ll", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", IsOptional: false}},
@@ -738,6 +743,9 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_selection", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tms", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tpacket_req", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tpacket_req3", IsOptional: false}},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tpacket_req_u", IsOptional: false}, IsVarlen: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_filter", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, IsVarlen: true},
@@ -13485,6 +13493,24 @@ var structFields = []struct {
getStruct(structKey{"mac_addr_remote", "remote", DirOut}),
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
}},
+ {structKey{"mac_addr", "mr_address", DirIn}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirIn}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirIn}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
+ {structKey{"mac_addr", "mr_address", DirInOut}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirInOut}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirInOut}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirInOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
+ {structKey{"mac_addr", "mr_address", DirOut}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirOut}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirOut}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
{structKey{"mac_addr", "sa_data", DirIn}, []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
getStruct(structKey{"mac_addr_local", "local", DirIn}),
@@ -13947,6 +13973,54 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsize", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fnumber", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"packet_fanout_val", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_fanout_val", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_fanout_val", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_mreq", "", DirIn}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_mreq", "", DirInOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_mreq", "", DirOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_pair", "", DirIn}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
+ {structKey{"packet_pair", "", DirInOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirInOut, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirInOut, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
+ {structKey{"packet_pair", "", DirOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
{structKey{"perf_event_attr", "", DirIn}, []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "parent", ByteSize: 0},
@@ -17202,6 +17276,66 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cid", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "typ", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"sockaddr_ll", "", DirIn}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "", DirInOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "", DirOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirIn}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirInOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
{structKey{"sockaddr_llc", "", DirIn}, []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sllc_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(26)},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sllc_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
@@ -17479,6 +17613,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirIn}),
getStruct(structKey{"sockaddr_in6", "in6", DirIn}),
getStruct(structKey{"sockaddr_nl", "nl", DirIn}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirIn}),
getStruct(structKey{"sockaddr_llc", "llc", DirIn}),
getStruct(structKey{"sockaddr_sco", "sco", DirIn}),
getStruct(structKey{"sockaddr_l2", "l2", DirIn}),
@@ -17497,6 +17632,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirInOut}),
getStruct(structKey{"sockaddr_in6", "in6", DirInOut}),
getStruct(structKey{"sockaddr_nl", "nl", DirInOut}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirInOut}),
getStruct(structKey{"sockaddr_llc", "llc", DirInOut}),
getStruct(structKey{"sockaddr_sco", "sco", DirInOut}),
getStruct(structKey{"sockaddr_l2", "l2", DirInOut}),
@@ -17515,6 +17651,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirOut}),
getStruct(structKey{"sockaddr_in6", "in6", DirOut}),
getStruct(structKey{"sockaddr_nl", "nl", DirOut}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirOut}),
getStruct(structKey{"sockaddr_llc", "llc", DirOut}),
getStruct(structKey{"sockaddr_sco", "sco", DirOut}),
getStruct(structKey{"sockaddr_l2", "l2", DirOut}),
@@ -20556,6 +20693,108 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cutime", ArgDir: DirOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cstime", ArgDir: DirOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"tpacket_req", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req_u", "", DirIn}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirIn}),
+ getStruct(structKey{"tpacket_req3", "req3", DirIn}),
+ }},
+ {structKey{"tpacket_req_u", "", DirInOut}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirInOut}),
+ getStruct(structKey{"tpacket_req3", "req3", DirInOut}),
+ }},
+ {structKey{"tpacket_req_u", "", DirOut}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirOut}),
+ getStruct(structKey{"tpacket_req3", "req3", DirOut}),
+ }},
{structKey{"tun_buffer", "", DirIn}, []Type{
getStruct(structKey{"tun_pi", "pi", DirIn}),
getStruct(structKey{"virtio_net_hdr", "hdr", DirIn}),
@@ -21617,6 +21856,7 @@ var Calls = []*Call{
&Call{Name: "accept4$inet6", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_in6")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 364},
&Call{Name: "accept4$ipx", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ipx")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 364},
&Call{Name: "accept4$llc", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_llc")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 364},
+ &Call{Name: "accept4$packet", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 364},
&Call{Name: "accept4$unix", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 364},
&Call{Name: "acct", CallName: "acct", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", ArgDir: DirIn, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}}, NR: 51},
&Call{Name: "add_key", CallName: "add_key", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("key")}, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "key_type", Values: []string{"user\x00", "keyring\x00", "logon\x00", "trusted\x00", "big_key\x00", "dead\x00", ".request_key_auth\x00", "syzkaller\x00"}, Length: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "desc", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"key_desc", "", DirIn})}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "payload", ArgDir: DirIn, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "payload", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "paylen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "payload", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "keyring", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}}, NR: 286},
@@ -21636,6 +21876,7 @@ var Calls = []*Call{
&Call{Name: "bind$netlink", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 361},
&Call{Name: "bind$netrom", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 361},
&Call{Name: "bind$nfc_llcp", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 361},
+ &Call{Name: "bind$packet", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 361},
&Call{Name: "bind$unix", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 361},
&Call{Name: "bpf$BPF_PROG_ATTACH", CallName: "bpf", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(8)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"bpf_attach_arg", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 357},
&Call{Name: "bpf$BPF_PROG_DETACH", CallName: "bpf", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(9)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"bpf_detach_arg", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 357},
@@ -21675,6 +21916,7 @@ var Calls = []*Call{
&Call{Name: "connect$netrom", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 362},
&Call{Name: "connect$nfc_llcp", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 362},
&Call{Name: "connect$nfc_raw", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_raw")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 362},
+ &Call{Name: "connect$packet", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 362},
&Call{Name: "connect$unix", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 362},
&Call{Name: "creat", CallName: "creat", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("fd")}, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "mode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}}}, NR: 8},
&Call{Name: "delete_module", CallName: "delete_module", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "", Values: []string(nil), Length: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 512}}}, NR: 129},
@@ -21751,6 +21993,7 @@ var Calls = []*Call{
&Call{Name: "getpeername$llc", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 368},
&Call{Name: "getpeername$netlink", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 368},
&Call{Name: "getpeername$netrom", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 368},
+ &Call{Name: "getpeername$packet", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 368},
&Call{Name: "getpeername$unix", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 368},
&Call{Name: "getpgid", CallName: "getpgid", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("pid")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", ArgDir: DirIn, IsOptional: false}, Desc: resource("pid")}}, NR: 132},
&Call{Name: "getpgrp", CallName: "getpgrp", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("pid")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", ArgDir: DirIn, IsOptional: false}, Desc: resource("pid")}}, NR: 65},
@@ -21769,6 +22012,7 @@ var Calls = []*Call{
&Call{Name: "getsockname$llc", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 367},
&Call{Name: "getsockname$netlink", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 367},
&Call{Name: "getsockname$netrom", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 367},
+ &Call{Name: "getsockname$packet", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 367},
&Call{Name: "getsockname$unix", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 367},
&Call{Name: "getsockopt", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 365},
&Call{Name: "getsockopt$SO_BINDTODEVICE", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(25)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"devname", "", DirOut})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 365},
@@ -21913,6 +22157,8 @@ var Calls = []*Call{
&Call{Name: "getsockopt$netrom_NETROM_T2", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}}, NR: 365},
&Call{Name: "getsockopt$netrom_NETROM_T4", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}}, NR: 365},
&Call{Name: "getsockopt$nfc_llcp", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 365},
+ &Call{Name: "getsockopt$packet_buf", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5, 6, 13, 22}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 365},
+ &Call{Name: "getsockopt$packet_int", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 365},
&Call{Name: "getsockopt$sock_buf", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{28, 31, 26}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 365},
&Call{Name: "getsockopt$sock_cred", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ucred", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 365},
&Call{Name: "getsockopt$sock_int", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{30, 6, 1, 39, 4, 5, 9, 42, 12, 38, 8, 33, 18, 19, 2, 7, 32, 29, 3, 15, 10, 11, 16, 35, 44, 34, 40, 41, 43, 45, 46, 47}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 365},
@@ -22595,6 +22841,7 @@ var Calls = []*Call{
&Call{Name: "recvfrom$inet6", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 371},
&Call{Name: "recvfrom$ipx", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 371},
&Call{Name: "recvfrom$llc", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 371},
+ &Call{Name: "recvfrom$packet", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 371},
&Call{Name: "recvfrom$unix", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 371},
&Call{Name: "recvmmsg", CallName: "recvmmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", ArgDir: DirIn, IsOptional: false}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"recv_mmsghdr", "", DirIn}), Kind: ArrayRandLen}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "mmsg", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"timespec", "", DirIn})}}, NR: 337},
&Call{Name: "recvmsg", CallName: "recvmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"recv_msghdr", "", DirIn})}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}}, NR: 372},
@@ -22648,6 +22895,7 @@ var Calls = []*Call{
&Call{Name: "sendto$inet6", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 369},
&Call{Name: "sendto$ipx", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 369},
&Call{Name: "sendto$llc", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 369},
+ &Call{Name: "sendto$packet", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 369},
&Call{Name: "sendto$unix", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 369},
&Call{Name: "set_mempolicy", CallName: "set_mempolicy", Native: true, Args: []Type{&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "mode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 2, 3, 1, 32768, 16384}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "nodemask", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "maxnode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, NR: 276},
&Call{Name: "set_robust_list", CallName: "set_robust_list", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "head", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"robust_list", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "head", ByteSize: 0}}, NR: 311},
@@ -22840,6 +23088,14 @@ var Calls = []*Call{
&Call{Name: "setsockopt$netrom_NETROM_T4", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 366},
&Call{Name: "setsockopt$nfc_llcp_NFC_LLCP_MIUX", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 366},
&Call{Name: "setsockopt$nfc_llcp_NFC_LLCP_RW", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 366},
+ &Call{Name: "setsockopt$packet_add_memb", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_mreq", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 366},
+ &Call{Name: "setsockopt$packet_buf", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5, 6, 13, 22}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 366},
+ &Call{Name: "setsockopt$packet_drop_memb", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_mreq", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 366},
+ &Call{Name: "setsockopt$packet_fanout", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(18)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_fanout_val", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 366},
+ &Call{Name: "setsockopt$packet_fanout_data", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(22)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sock_fprog", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 366},
+ &Call{Name: "setsockopt$packet_int", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 366},
+ &Call{Name: "setsockopt$packet_rx_ring", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(5)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"tpacket_req_u", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 366},
+ &Call{Name: "setsockopt$packet_tx_ring", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(13)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"tpacket_req_u", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 366},
&Call{Name: "setsockopt$sock_attach_bpf", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(50)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_bpf_prog")}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 366},
&Call{Name: "setsockopt$sock_cred", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ucred", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 366},
&Call{Name: "setsockopt$sock_int", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{30, 6, 1, 39, 4, 5, 9, 42, 12, 38, 8, 33, 18, 19, 2, 7, 32, 29, 3, 15, 10, 11, 16, 35, 44, 34, 40, 41, 43, 45, 46, 47}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 366},
@@ -22884,6 +23140,7 @@ var Calls = []*Call{
&Call{Name: "socket$netrom", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_netrom")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(5)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 359},
&Call{Name: "socket$nfc_llcp", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(39)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}}, NR: 359},
&Call{Name: "socket$nfc_raw", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_raw")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(39)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 359},
+ &Call{Name: "socket$packet", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(768)}}, NR: 359},
&Call{Name: "socket$unix", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 359},
&Call{Name: "socketpair", CallName: "socketpair", Native: true, Args: []Type{&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"pipefd", "", DirOut})}}, NR: 360},
&Call{Name: "socketpair$ax25", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(3)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2, 5, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ax25_pair", "", DirOut})}}, NR: 360},
@@ -22903,6 +23160,7 @@ var Calls = []*Call{
&Call{Name: "socketpair$inet_udp", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"udp_pair", "", DirOut})}}, NR: 360},
&Call{Name: "socketpair$ipx", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(4)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ipx_pair", "", DirOut})}}, NR: 360},
&Call{Name: "socketpair$llc", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(26)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2, 1}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"llc_pair", "", DirOut})}}, NR: 360},
+ &Call{Name: "socketpair$packet", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(768)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_pair", "", DirOut})}}, NR: 360},
&Call{Name: "socketpair$unix", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"unix_pair", "", DirOut})}}, NR: 360},
&Call{Name: "splice", CallName: "splice", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offin", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Kind: IntFileoff}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdout", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offout", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Kind: IntFileoff}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 4, 8}}}, NR: 313},
&Call{Name: "stat", CallName: "stat", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"stat", "", DirOut})}}, NR: 106},
@@ -23544,6 +23802,7 @@ const (
ETH_P_AARP = 33011
ETH_P_AF_IUCV = 64507
ETH_P_ALL = 3
+ ETH_P_ALL_BE = 768
ETH_P_AOE = 34978
ETH_P_ARCNET = 26
ETH_P_ARP = 2054
@@ -24692,6 +24951,36 @@ const (
O_SYNC = 1052672
O_TRUNC = 512
O_WRONLY = 1
+ PACKET_ADD_MEMBERSHIP = 1
+ PACKET_AUXDATA = 8
+ PACKET_COPY_THRESH = 7
+ PACKET_DROP_MEMBERSHIP = 2
+ PACKET_FANOUT = 18
+ PACKET_FANOUT_CBPF = 6
+ PACKET_FANOUT_CPU = 2
+ PACKET_FANOUT_DATA = 22
+ PACKET_FANOUT_EBPF = 7
+ PACKET_FANOUT_FLAG_DEFRAG = 32768
+ PACKET_FANOUT_FLAG_ROLLOVER = 4096
+ PACKET_FANOUT_HASH = 0
+ PACKET_FANOUT_LB = 1
+ PACKET_FANOUT_QM = 5
+ PACKET_FANOUT_RND = 4
+ PACKET_FANOUT_ROLLOVER = 3
+ PACKET_HDRLEN = 11
+ PACKET_LOSS = 14
+ PACKET_ORIGDEV = 9
+ PACKET_QDISC_BYPASS = 20
+ PACKET_RECV_OUTPUT = 3
+ PACKET_RESERVE = 12
+ PACKET_RX_RING = 5
+ PACKET_STATISTICS = 6
+ PACKET_TIMESTAMP = 17
+ PACKET_TX_HAS_OFF = 19
+ PACKET_TX_RING = 13
+ PACKET_TX_TIMESTAMP = 16
+ PACKET_VERSION = 10
+ PACKET_VNET_HDR = 15
PERF_EVENT_IOC_DISABLE = 9217
PERF_EVENT_IOC_ENABLE = 9216
PERF_EVENT_IOC_ID = 2147755015
diff --git a/sys/sys_amd64.go b/sys/sys_amd64.go
index 8aeba9eb6..b8e71622f 100644
--- a/sys/sys_amd64.go
+++ b/sys/sys_amd64.go
@@ -78,6 +78,7 @@ var resourceArray = []*ResourceDesc{
&ResourceDesc{Name: "sock_netrom", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_nfc_llcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_nfc_raw", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
+ &ResourceDesc{Name: "sock_packet", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_packet"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_sctp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in", "sock_sctp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_sctp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in6", "sock_sctp6"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_tcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in", "sock_tcp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
@@ -498,6 +499,9 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "netlink_msg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "nfc_llcp_send_msghdr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "nl_mmap_req", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_mreq", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "perf_event_attr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "pipefd", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "pollfd", IsOptional: false}},
@@ -607,6 +611,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_in6", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ipx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_l2", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ll", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", IsOptional: false}},
@@ -738,6 +743,9 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_selection", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tms", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tpacket_req", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tpacket_req3", IsOptional: false}},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tpacket_req_u", IsOptional: false}, IsVarlen: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_filter", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, IsVarlen: true},
@@ -13485,6 +13493,24 @@ var structFields = []struct {
getStruct(structKey{"mac_addr_remote", "remote", DirOut}),
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
}},
+ {structKey{"mac_addr", "mr_address", DirIn}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirIn}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirIn}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
+ {structKey{"mac_addr", "mr_address", DirInOut}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirInOut}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirInOut}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirInOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
+ {structKey{"mac_addr", "mr_address", DirOut}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirOut}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirOut}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
{structKey{"mac_addr", "sa_data", DirIn}, []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
getStruct(structKey{"mac_addr_local", "local", DirIn}),
@@ -13947,6 +13973,54 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsize", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fnumber", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"packet_fanout_val", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_fanout_val", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_fanout_val", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_mreq", "", DirIn}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_mreq", "", DirInOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_mreq", "", DirOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_pair", "", DirIn}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
+ {structKey{"packet_pair", "", DirInOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirInOut, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirInOut, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
+ {structKey{"packet_pair", "", DirOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
{structKey{"perf_event_attr", "", DirIn}, []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "parent", ByteSize: 0},
@@ -17202,6 +17276,66 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cid", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "typ", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"sockaddr_ll", "", DirIn}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "", DirInOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "", DirOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirIn}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirInOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
{structKey{"sockaddr_llc", "", DirIn}, []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sllc_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(26)},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sllc_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
@@ -17479,6 +17613,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirIn}),
getStruct(structKey{"sockaddr_in6", "in6", DirIn}),
getStruct(structKey{"sockaddr_nl", "nl", DirIn}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirIn}),
getStruct(structKey{"sockaddr_llc", "llc", DirIn}),
getStruct(structKey{"sockaddr_sco", "sco", DirIn}),
getStruct(structKey{"sockaddr_l2", "l2", DirIn}),
@@ -17497,6 +17632,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirInOut}),
getStruct(structKey{"sockaddr_in6", "in6", DirInOut}),
getStruct(structKey{"sockaddr_nl", "nl", DirInOut}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirInOut}),
getStruct(structKey{"sockaddr_llc", "llc", DirInOut}),
getStruct(structKey{"sockaddr_sco", "sco", DirInOut}),
getStruct(structKey{"sockaddr_l2", "l2", DirInOut}),
@@ -17515,6 +17651,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirOut}),
getStruct(structKey{"sockaddr_in6", "in6", DirOut}),
getStruct(structKey{"sockaddr_nl", "nl", DirOut}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirOut}),
getStruct(structKey{"sockaddr_llc", "llc", DirOut}),
getStruct(structKey{"sockaddr_sco", "sco", DirOut}),
getStruct(structKey{"sockaddr_l2", "l2", DirOut}),
@@ -20556,6 +20693,108 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cutime", ArgDir: DirOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cstime", ArgDir: DirOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"tpacket_req", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req_u", "", DirIn}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirIn}),
+ getStruct(structKey{"tpacket_req3", "req3", DirIn}),
+ }},
+ {structKey{"tpacket_req_u", "", DirInOut}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirInOut}),
+ getStruct(structKey{"tpacket_req3", "req3", DirInOut}),
+ }},
+ {structKey{"tpacket_req_u", "", DirOut}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirOut}),
+ getStruct(structKey{"tpacket_req3", "req3", DirOut}),
+ }},
{structKey{"tun_buffer", "", DirIn}, []Type{
getStruct(structKey{"tun_pi", "pi", DirIn}),
getStruct(structKey{"virtio_net_hdr", "hdr", DirIn}),
@@ -21620,6 +21859,7 @@ var Calls = []*Call{
&Call{Name: "accept$llc", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_llc")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 43},
&Call{Name: "accept$netrom", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_netrom")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 43},
&Call{Name: "accept$nfc_llcp", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 43},
+ &Call{Name: "accept$packet", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 43},
&Call{Name: "accept$unix", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 43},
&Call{Name: "accept4", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_storage", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 288},
&Call{Name: "accept4$ax25", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ax25")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ax25")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ax25", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 288},
@@ -21627,6 +21867,7 @@ var Calls = []*Call{
&Call{Name: "accept4$inet6", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_in6")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 288},
&Call{Name: "accept4$ipx", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ipx")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 288},
&Call{Name: "accept4$llc", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_llc")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 288},
+ &Call{Name: "accept4$packet", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 288},
&Call{Name: "accept4$unix", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 288},
&Call{Name: "acct", CallName: "acct", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", ArgDir: DirIn, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}}, NR: 163},
&Call{Name: "add_key", CallName: "add_key", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("key")}, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "key_type", Values: []string{"user\x00", "keyring\x00", "logon\x00", "trusted\x00", "big_key\x00", "dead\x00", ".request_key_auth\x00", "syzkaller\x00"}, Length: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "desc", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"key_desc", "", DirIn})}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "payload", ArgDir: DirIn, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "payload", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "paylen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "payload", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "keyring", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}}, NR: 248},
@@ -21646,6 +21887,7 @@ var Calls = []*Call{
&Call{Name: "bind$netlink", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 49},
&Call{Name: "bind$netrom", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 49},
&Call{Name: "bind$nfc_llcp", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 49},
+ &Call{Name: "bind$packet", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 49},
&Call{Name: "bind$unix", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 49},
&Call{Name: "bpf$BPF_PROG_ATTACH", CallName: "bpf", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(8)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"bpf_attach_arg", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 321},
&Call{Name: "bpf$BPF_PROG_DETACH", CallName: "bpf", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(9)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"bpf_detach_arg", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 321},
@@ -21685,6 +21927,7 @@ var Calls = []*Call{
&Call{Name: "connect$netrom", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 42},
&Call{Name: "connect$nfc_llcp", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 42},
&Call{Name: "connect$nfc_raw", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_raw")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 42},
+ &Call{Name: "connect$packet", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 42},
&Call{Name: "connect$unix", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 42},
&Call{Name: "creat", CallName: "creat", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("fd")}, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "mode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}}}, NR: 85},
&Call{Name: "delete_module", CallName: "delete_module", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "", Values: []string(nil), Length: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 512}}}, NR: 176},
@@ -21761,6 +22004,7 @@ var Calls = []*Call{
&Call{Name: "getpeername$llc", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 52},
&Call{Name: "getpeername$netlink", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 52},
&Call{Name: "getpeername$netrom", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 52},
+ &Call{Name: "getpeername$packet", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 52},
&Call{Name: "getpeername$unix", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 52},
&Call{Name: "getpgid", CallName: "getpgid", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("pid")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", ArgDir: DirIn, IsOptional: false}, Desc: resource("pid")}}, NR: 121},
&Call{Name: "getpgrp", CallName: "getpgrp", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("pid")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", ArgDir: DirIn, IsOptional: false}, Desc: resource("pid")}}, NR: 111},
@@ -21779,6 +22023,7 @@ var Calls = []*Call{
&Call{Name: "getsockname$llc", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 51},
&Call{Name: "getsockname$netlink", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 51},
&Call{Name: "getsockname$netrom", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 51},
+ &Call{Name: "getsockname$packet", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 51},
&Call{Name: "getsockname$unix", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 51},
&Call{Name: "getsockopt", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 55},
&Call{Name: "getsockopt$SO_BINDTODEVICE", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(25)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"devname", "", DirOut})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 55},
@@ -21923,6 +22168,8 @@ var Calls = []*Call{
&Call{Name: "getsockopt$netrom_NETROM_T2", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}}, NR: 55},
&Call{Name: "getsockopt$netrom_NETROM_T4", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}}, NR: 55},
&Call{Name: "getsockopt$nfc_llcp", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 55},
+ &Call{Name: "getsockopt$packet_buf", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5, 6, 13, 22}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 55},
+ &Call{Name: "getsockopt$packet_int", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 55},
&Call{Name: "getsockopt$sock_buf", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{28, 31, 26}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 55},
&Call{Name: "getsockopt$sock_cred", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ucred", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 55},
&Call{Name: "getsockopt$sock_int", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{30, 6, 1, 39, 4, 5, 9, 42, 12, 38, 8, 33, 18, 19, 2, 7, 32, 29, 3, 15, 10, 11, 16, 35, 44, 34, 40, 41, 43, 45, 46, 47}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 55},
@@ -22626,6 +22873,7 @@ var Calls = []*Call{
&Call{Name: "recvfrom$inet6", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 45},
&Call{Name: "recvfrom$ipx", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 45},
&Call{Name: "recvfrom$llc", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 45},
+ &Call{Name: "recvfrom$packet", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 45},
&Call{Name: "recvfrom$unix", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 45},
&Call{Name: "recvmmsg", CallName: "recvmmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", ArgDir: DirIn, IsOptional: false}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"recv_mmsghdr", "", DirIn}), Kind: ArrayRandLen}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "mmsg", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"timespec", "", DirIn})}}, NR: 299},
&Call{Name: "recvmsg", CallName: "recvmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"recv_msghdr", "", DirIn})}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}}, NR: 47},
@@ -22696,6 +22944,7 @@ var Calls = []*Call{
&Call{Name: "sendto$inet6", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 44},
&Call{Name: "sendto$ipx", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 44},
&Call{Name: "sendto$llc", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 44},
+ &Call{Name: "sendto$packet", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 44},
&Call{Name: "sendto$unix", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 44},
&Call{Name: "set_mempolicy", CallName: "set_mempolicy", Native: true, Args: []Type{&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "mode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 2, 3, 1, 32768, 16384}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "nodemask", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "maxnode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, NR: 238},
&Call{Name: "set_robust_list", CallName: "set_robust_list", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "head", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"robust_list", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "head", ByteSize: 0}}, NR: 273},
@@ -22888,6 +23137,14 @@ var Calls = []*Call{
&Call{Name: "setsockopt$netrom_NETROM_T4", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 54},
&Call{Name: "setsockopt$nfc_llcp_NFC_LLCP_MIUX", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 54},
&Call{Name: "setsockopt$nfc_llcp_NFC_LLCP_RW", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 54},
+ &Call{Name: "setsockopt$packet_add_memb", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_mreq", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 54},
+ &Call{Name: "setsockopt$packet_buf", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5, 6, 13, 22}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 54},
+ &Call{Name: "setsockopt$packet_drop_memb", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_mreq", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 54},
+ &Call{Name: "setsockopt$packet_fanout", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(18)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_fanout_val", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 54},
+ &Call{Name: "setsockopt$packet_fanout_data", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(22)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sock_fprog", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 54},
+ &Call{Name: "setsockopt$packet_int", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 54},
+ &Call{Name: "setsockopt$packet_rx_ring", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(5)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"tpacket_req_u", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 54},
+ &Call{Name: "setsockopt$packet_tx_ring", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(13)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"tpacket_req_u", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 54},
&Call{Name: "setsockopt$sock_attach_bpf", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(50)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_bpf_prog")}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 54},
&Call{Name: "setsockopt$sock_cred", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ucred", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 54},
&Call{Name: "setsockopt$sock_int", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{30, 6, 1, 39, 4, 5, 9, 42, 12, 38, 8, 33, 18, 19, 2, 7, 32, 29, 3, 15, 10, 11, 16, 35, 44, 34, 40, 41, 43, 45, 46, 47}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 54},
@@ -22944,6 +23201,7 @@ var Calls = []*Call{
&Call{Name: "socket$netrom", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_netrom")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(5)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 41},
&Call{Name: "socket$nfc_llcp", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(39)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}}, NR: 41},
&Call{Name: "socket$nfc_raw", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_raw")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(39)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 41},
+ &Call{Name: "socket$packet", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(768)}}, NR: 41},
&Call{Name: "socket$unix", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 41},
&Call{Name: "socketpair", CallName: "socketpair", Native: true, Args: []Type{&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"pipefd", "", DirOut})}}, NR: 53},
&Call{Name: "socketpair$ax25", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(3)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2, 5, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ax25_pair", "", DirOut})}}, NR: 53},
@@ -22963,6 +23221,7 @@ var Calls = []*Call{
&Call{Name: "socketpair$inet_udp", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"udp_pair", "", DirOut})}}, NR: 53},
&Call{Name: "socketpair$ipx", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(4)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ipx_pair", "", DirOut})}}, NR: 53},
&Call{Name: "socketpair$llc", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(26)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2, 1}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"llc_pair", "", DirOut})}}, NR: 53},
+ &Call{Name: "socketpair$packet", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(768)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_pair", "", DirOut})}}, NR: 53},
&Call{Name: "socketpair$unix", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"unix_pair", "", DirOut})}}, NR: 53},
&Call{Name: "splice", CallName: "splice", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offin", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Kind: IntFileoff}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdout", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offout", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Kind: IntFileoff}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 4, 8}}}, NR: 275},
&Call{Name: "stat", CallName: "stat", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"stat", "", DirOut})}}, NR: 4},
@@ -23604,6 +23863,7 @@ const (
ETH_P_AARP = 33011
ETH_P_AF_IUCV = 64507
ETH_P_ALL = 3
+ ETH_P_ALL_BE = 768
ETH_P_AOE = 34978
ETH_P_ARCNET = 26
ETH_P_ARP = 2054
@@ -24759,6 +25019,36 @@ const (
O_SYNC = 1052672
O_TRUNC = 512
O_WRONLY = 1
+ PACKET_ADD_MEMBERSHIP = 1
+ PACKET_AUXDATA = 8
+ PACKET_COPY_THRESH = 7
+ PACKET_DROP_MEMBERSHIP = 2
+ PACKET_FANOUT = 18
+ PACKET_FANOUT_CBPF = 6
+ PACKET_FANOUT_CPU = 2
+ PACKET_FANOUT_DATA = 22
+ PACKET_FANOUT_EBPF = 7
+ PACKET_FANOUT_FLAG_DEFRAG = 32768
+ PACKET_FANOUT_FLAG_ROLLOVER = 4096
+ PACKET_FANOUT_HASH = 0
+ PACKET_FANOUT_LB = 1
+ PACKET_FANOUT_QM = 5
+ PACKET_FANOUT_RND = 4
+ PACKET_FANOUT_ROLLOVER = 3
+ PACKET_HDRLEN = 11
+ PACKET_LOSS = 14
+ PACKET_ORIGDEV = 9
+ PACKET_QDISC_BYPASS = 20
+ PACKET_RECV_OUTPUT = 3
+ PACKET_RESERVE = 12
+ PACKET_RX_RING = 5
+ PACKET_STATISTICS = 6
+ PACKET_TIMESTAMP = 17
+ PACKET_TX_HAS_OFF = 19
+ PACKET_TX_RING = 13
+ PACKET_TX_TIMESTAMP = 16
+ PACKET_VERSION = 10
+ PACKET_VNET_HDR = 15
PERF_EVENT_IOC_DISABLE = 9217
PERF_EVENT_IOC_ENABLE = 9216
PERF_EVENT_IOC_ID = 2148017159
diff --git a/sys/sys_arm.go b/sys/sys_arm.go
index f94ee1062..717f093a9 100644
--- a/sys/sys_arm.go
+++ b/sys/sys_arm.go
@@ -78,6 +78,7 @@ var resourceArray = []*ResourceDesc{
&ResourceDesc{Name: "sock_netrom", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_nfc_llcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_nfc_raw", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
+ &ResourceDesc{Name: "sock_packet", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_packet"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_sctp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in", "sock_sctp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_sctp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in6", "sock_sctp6"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_tcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in", "sock_tcp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
@@ -498,6 +499,9 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "netlink_msg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "nfc_llcp_send_msghdr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "nl_mmap_req", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_mreq", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "perf_event_attr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "pipefd", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "pollfd", IsOptional: false}},
@@ -607,6 +611,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_in6", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ipx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_l2", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ll", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", IsOptional: false}},
@@ -738,6 +743,9 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_selection", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tms", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tpacket_req", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tpacket_req3", IsOptional: false}},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tpacket_req_u", IsOptional: false}, IsVarlen: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_filter", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, IsVarlen: true},
@@ -13485,6 +13493,24 @@ var structFields = []struct {
getStruct(structKey{"mac_addr_remote", "remote", DirOut}),
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
}},
+ {structKey{"mac_addr", "mr_address", DirIn}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirIn}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirIn}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
+ {structKey{"mac_addr", "mr_address", DirInOut}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirInOut}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirInOut}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirInOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
+ {structKey{"mac_addr", "mr_address", DirOut}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirOut}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirOut}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
{structKey{"mac_addr", "sa_data", DirIn}, []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
getStruct(structKey{"mac_addr_local", "local", DirIn}),
@@ -13947,6 +13973,54 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsize", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fnumber", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"packet_fanout_val", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_fanout_val", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_fanout_val", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_mreq", "", DirIn}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_mreq", "", DirInOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_mreq", "", DirOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_pair", "", DirIn}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
+ {structKey{"packet_pair", "", DirInOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirInOut, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirInOut, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
+ {structKey{"packet_pair", "", DirOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
{structKey{"perf_event_attr", "", DirIn}, []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "parent", ByteSize: 0},
@@ -17202,6 +17276,66 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cid", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "typ", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"sockaddr_ll", "", DirIn}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "", DirInOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "", DirOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirIn}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirInOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
{structKey{"sockaddr_llc", "", DirIn}, []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sllc_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(26)},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sllc_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
@@ -17479,6 +17613,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirIn}),
getStruct(structKey{"sockaddr_in6", "in6", DirIn}),
getStruct(structKey{"sockaddr_nl", "nl", DirIn}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirIn}),
getStruct(structKey{"sockaddr_llc", "llc", DirIn}),
getStruct(structKey{"sockaddr_sco", "sco", DirIn}),
getStruct(structKey{"sockaddr_l2", "l2", DirIn}),
@@ -17497,6 +17632,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirInOut}),
getStruct(structKey{"sockaddr_in6", "in6", DirInOut}),
getStruct(structKey{"sockaddr_nl", "nl", DirInOut}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirInOut}),
getStruct(structKey{"sockaddr_llc", "llc", DirInOut}),
getStruct(structKey{"sockaddr_sco", "sco", DirInOut}),
getStruct(structKey{"sockaddr_l2", "l2", DirInOut}),
@@ -17515,6 +17651,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirOut}),
getStruct(structKey{"sockaddr_in6", "in6", DirOut}),
getStruct(structKey{"sockaddr_nl", "nl", DirOut}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirOut}),
getStruct(structKey{"sockaddr_llc", "llc", DirOut}),
getStruct(structKey{"sockaddr_sco", "sco", DirOut}),
getStruct(structKey{"sockaddr_l2", "l2", DirOut}),
@@ -20556,6 +20693,108 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cutime", ArgDir: DirOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cstime", ArgDir: DirOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"tpacket_req", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req_u", "", DirIn}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirIn}),
+ getStruct(structKey{"tpacket_req3", "req3", DirIn}),
+ }},
+ {structKey{"tpacket_req_u", "", DirInOut}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirInOut}),
+ getStruct(structKey{"tpacket_req3", "req3", DirInOut}),
+ }},
+ {structKey{"tpacket_req_u", "", DirOut}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirOut}),
+ getStruct(structKey{"tpacket_req3", "req3", DirOut}),
+ }},
{structKey{"tun_buffer", "", DirIn}, []Type{
getStruct(structKey{"tun_pi", "pi", DirIn}),
getStruct(structKey{"virtio_net_hdr", "hdr", DirIn}),
@@ -21620,6 +21859,7 @@ var Calls = []*Call{
&Call{Name: "accept$llc", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_llc")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 9437469},
&Call{Name: "accept$netrom", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_netrom")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 9437469},
&Call{Name: "accept$nfc_llcp", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 9437469},
+ &Call{Name: "accept$packet", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 9437469},
&Call{Name: "accept$unix", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 9437469},
&Call{Name: "accept4", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_storage", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 9437550},
&Call{Name: "accept4$ax25", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ax25")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ax25")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ax25", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 9437550},
@@ -21627,6 +21867,7 @@ var Calls = []*Call{
&Call{Name: "accept4$inet6", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_in6")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 9437550},
&Call{Name: "accept4$ipx", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ipx")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 9437550},
&Call{Name: "accept4$llc", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_llc")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 9437550},
+ &Call{Name: "accept4$packet", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 9437550},
&Call{Name: "accept4$unix", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 9437550},
&Call{Name: "acct", CallName: "acct", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", ArgDir: DirIn, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}}, NR: 9437235},
&Call{Name: "add_key", CallName: "add_key", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("key")}, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "key_type", Values: []string{"user\x00", "keyring\x00", "logon\x00", "trusted\x00", "big_key\x00", "dead\x00", ".request_key_auth\x00", "syzkaller\x00"}, Length: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "desc", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"key_desc", "", DirIn})}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "payload", ArgDir: DirIn, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "payload", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "paylen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "payload", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "keyring", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}}, NR: 9437493},
@@ -21645,6 +21886,7 @@ var Calls = []*Call{
&Call{Name: "bind$netlink", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437466},
&Call{Name: "bind$netrom", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437466},
&Call{Name: "bind$nfc_llcp", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437466},
+ &Call{Name: "bind$packet", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437466},
&Call{Name: "bind$unix", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437466},
&Call{Name: "bpf$BPF_PROG_ATTACH", CallName: "bpf", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(8)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"bpf_attach_arg", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 9437570},
&Call{Name: "bpf$BPF_PROG_DETACH", CallName: "bpf", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(9)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"bpf_detach_arg", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 9437570},
@@ -21684,6 +21926,7 @@ var Calls = []*Call{
&Call{Name: "connect$netrom", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437467},
&Call{Name: "connect$nfc_llcp", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437467},
&Call{Name: "connect$nfc_raw", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_raw")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437467},
+ &Call{Name: "connect$packet", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437467},
&Call{Name: "connect$unix", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437467},
&Call{Name: "creat", CallName: "creat", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("fd")}, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "mode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}}}, NR: 9437192},
&Call{Name: "delete_module", CallName: "delete_module", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "", Values: []string(nil), Length: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 512}}}, NR: 9437313},
@@ -21757,6 +22000,7 @@ var Calls = []*Call{
&Call{Name: "getpeername$llc", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 9437471},
&Call{Name: "getpeername$netlink", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 9437471},
&Call{Name: "getpeername$netrom", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 9437471},
+ &Call{Name: "getpeername$packet", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 9437471},
&Call{Name: "getpeername$unix", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 9437471},
&Call{Name: "getpgid", CallName: "getpgid", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("pid")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", ArgDir: DirIn, IsOptional: false}, Desc: resource("pid")}}, NR: 9437316},
&Call{Name: "getpgrp", CallName: "getpgrp", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("pid")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", ArgDir: DirIn, IsOptional: false}, Desc: resource("pid")}}, NR: 9437249},
@@ -21775,6 +22019,7 @@ var Calls = []*Call{
&Call{Name: "getsockname$llc", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 9437470},
&Call{Name: "getsockname$netlink", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 9437470},
&Call{Name: "getsockname$netrom", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 9437470},
+ &Call{Name: "getsockname$packet", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 9437470},
&Call{Name: "getsockname$unix", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 9437470},
&Call{Name: "getsockopt", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 9437479},
&Call{Name: "getsockopt$SO_BINDTODEVICE", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(25)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"devname", "", DirOut})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437479},
@@ -21919,6 +22164,8 @@ var Calls = []*Call{
&Call{Name: "getsockopt$netrom_NETROM_T2", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}}, NR: 9437479},
&Call{Name: "getsockopt$netrom_NETROM_T4", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}}, NR: 9437479},
&Call{Name: "getsockopt$nfc_llcp", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 9437479},
+ &Call{Name: "getsockopt$packet_buf", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5, 6, 13, 22}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 9437479},
+ &Call{Name: "getsockopt$packet_int", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 9437479},
&Call{Name: "getsockopt$sock_buf", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{28, 31, 26}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 9437479},
&Call{Name: "getsockopt$sock_cred", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ucred", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 9437479},
&Call{Name: "getsockopt$sock_int", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{30, 6, 1, 39, 4, 5, 9, 42, 12, 38, 8, 33, 18, 19, 2, 7, 32, 29, 3, 15, 10, 11, 16, 35, 44, 34, 40, 41, 43, 45, 46, 47}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 9437479},
@@ -22581,6 +22828,7 @@ var Calls = []*Call{
&Call{Name: "recvfrom$inet6", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437476},
&Call{Name: "recvfrom$ipx", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437476},
&Call{Name: "recvfrom$llc", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437476},
+ &Call{Name: "recvfrom$packet", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437476},
&Call{Name: "recvfrom$unix", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437476},
&Call{Name: "recvmmsg", CallName: "recvmmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", ArgDir: DirIn, IsOptional: false}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"recv_mmsghdr", "", DirIn}), Kind: ArrayRandLen}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "mmsg", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"timespec", "", DirIn})}}, NR: 9437549},
&Call{Name: "recvmsg", CallName: "recvmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"recv_msghdr", "", DirIn})}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}}, NR: 9437481},
@@ -22651,6 +22899,7 @@ var Calls = []*Call{
&Call{Name: "sendto$inet6", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437474},
&Call{Name: "sendto$ipx", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437474},
&Call{Name: "sendto$llc", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437474},
+ &Call{Name: "sendto$packet", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437474},
&Call{Name: "sendto$unix", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 9437474},
&Call{Name: "set_mempolicy", CallName: "set_mempolicy", Native: true, Args: []Type{&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "mode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 2, 3, 1, 32768, 16384}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "nodemask", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "maxnode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, NR: 9437505},
&Call{Name: "set_robust_list", CallName: "set_robust_list", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "head", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"robust_list", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "head", ByteSize: 0}}, NR: 9437522},
@@ -22842,6 +23091,14 @@ var Calls = []*Call{
&Call{Name: "setsockopt$netrom_NETROM_T4", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 9437478},
&Call{Name: "setsockopt$nfc_llcp_NFC_LLCP_MIUX", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 9437478},
&Call{Name: "setsockopt$nfc_llcp_NFC_LLCP_RW", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 9437478},
+ &Call{Name: "setsockopt$packet_add_memb", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_mreq", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437478},
+ &Call{Name: "setsockopt$packet_buf", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5, 6, 13, 22}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437478},
+ &Call{Name: "setsockopt$packet_drop_memb", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_mreq", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437478},
+ &Call{Name: "setsockopt$packet_fanout", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(18)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_fanout_val", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437478},
+ &Call{Name: "setsockopt$packet_fanout_data", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(22)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sock_fprog", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437478},
+ &Call{Name: "setsockopt$packet_int", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437478},
+ &Call{Name: "setsockopt$packet_rx_ring", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(5)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"tpacket_req_u", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437478},
+ &Call{Name: "setsockopt$packet_tx_ring", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(13)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"tpacket_req_u", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437478},
&Call{Name: "setsockopt$sock_attach_bpf", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(50)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_bpf_prog")}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437478},
&Call{Name: "setsockopt$sock_cred", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ucred", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437478},
&Call{Name: "setsockopt$sock_int", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{30, 6, 1, 39, 4, 5, 9, 42, 12, 38, 8, 33, 18, 19, 2, 7, 32, 29, 3, 15, 10, 11, 16, 35, 44, 34, 40, 41, 43, 45, 46, 47}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 9437478},
@@ -22898,6 +23155,7 @@ var Calls = []*Call{
&Call{Name: "socket$netrom", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_netrom")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(5)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 9437465},
&Call{Name: "socket$nfc_llcp", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(39)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}}, NR: 9437465},
&Call{Name: "socket$nfc_raw", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_raw")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(39)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 9437465},
+ &Call{Name: "socket$packet", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(768)}}, NR: 9437465},
&Call{Name: "socket$unix", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 9437465},
&Call{Name: "socketpair", CallName: "socketpair", Native: true, Args: []Type{&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"pipefd", "", DirOut})}}, NR: 9437472},
&Call{Name: "socketpair$ax25", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(3)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2, 5, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ax25_pair", "", DirOut})}}, NR: 9437472},
@@ -22917,6 +23175,7 @@ var Calls = []*Call{
&Call{Name: "socketpair$inet_udp", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"udp_pair", "", DirOut})}}, NR: 9437472},
&Call{Name: "socketpair$ipx", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(4)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ipx_pair", "", DirOut})}}, NR: 9437472},
&Call{Name: "socketpair$llc", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(26)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2, 1}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"llc_pair", "", DirOut})}}, NR: 9437472},
+ &Call{Name: "socketpair$packet", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(768)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_pair", "", DirOut})}}, NR: 9437472},
&Call{Name: "socketpair$unix", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"unix_pair", "", DirOut})}}, NR: 9437472},
&Call{Name: "splice", CallName: "splice", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offin", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Kind: IntFileoff}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdout", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offout", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Kind: IntFileoff}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 4, 8}}}, NR: 9437524},
&Call{Name: "stat", CallName: "stat", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"stat", "", DirOut})}}, NR: 9437290},
@@ -23557,6 +23816,7 @@ const (
ETH_P_AARP = 33011
ETH_P_AF_IUCV = 64507
ETH_P_ALL = 3
+ ETH_P_ALL_BE = 768
ETH_P_AOE = 34978
ETH_P_ARCNET = 26
ETH_P_ARP = 2054
@@ -24658,6 +24918,36 @@ const (
O_SYNC = 1052672
O_TRUNC = 512
O_WRONLY = 1
+ PACKET_ADD_MEMBERSHIP = 1
+ PACKET_AUXDATA = 8
+ PACKET_COPY_THRESH = 7
+ PACKET_DROP_MEMBERSHIP = 2
+ PACKET_FANOUT = 18
+ PACKET_FANOUT_CBPF = 6
+ PACKET_FANOUT_CPU = 2
+ PACKET_FANOUT_DATA = 22
+ PACKET_FANOUT_EBPF = 7
+ PACKET_FANOUT_FLAG_DEFRAG = 32768
+ PACKET_FANOUT_FLAG_ROLLOVER = 4096
+ PACKET_FANOUT_HASH = 0
+ PACKET_FANOUT_LB = 1
+ PACKET_FANOUT_QM = 5
+ PACKET_FANOUT_RND = 4
+ PACKET_FANOUT_ROLLOVER = 3
+ PACKET_HDRLEN = 11
+ PACKET_LOSS = 14
+ PACKET_ORIGDEV = 9
+ PACKET_QDISC_BYPASS = 20
+ PACKET_RECV_OUTPUT = 3
+ PACKET_RESERVE = 12
+ PACKET_RX_RING = 5
+ PACKET_STATISTICS = 6
+ PACKET_TIMESTAMP = 17
+ PACKET_TX_HAS_OFF = 19
+ PACKET_TX_RING = 13
+ PACKET_TX_TIMESTAMP = 16
+ PACKET_VERSION = 10
+ PACKET_VNET_HDR = 15
PERF_EVENT_IOC_DISABLE = 9217
PERF_EVENT_IOC_ENABLE = 9216
PERF_EVENT_IOC_ID = 2147755015
diff --git a/sys/sys_arm64.go b/sys/sys_arm64.go
index 345ed6a30..e441745ad 100644
--- a/sys/sys_arm64.go
+++ b/sys/sys_arm64.go
@@ -78,6 +78,7 @@ var resourceArray = []*ResourceDesc{
&ResourceDesc{Name: "sock_netrom", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_nfc_llcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_nfc_raw", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
+ &ResourceDesc{Name: "sock_packet", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_packet"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_sctp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in", "sock_sctp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_sctp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in6", "sock_sctp6"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_tcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in", "sock_tcp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
@@ -498,6 +499,9 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "netlink_msg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "nfc_llcp_send_msghdr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "nl_mmap_req", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_mreq", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "perf_event_attr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "pipefd", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "pollfd", IsOptional: false}},
@@ -607,6 +611,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_in6", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ipx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_l2", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ll", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", IsOptional: false}},
@@ -738,6 +743,9 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_selection", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tms", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tpacket_req", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tpacket_req3", IsOptional: false}},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tpacket_req_u", IsOptional: false}, IsVarlen: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_filter", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, IsVarlen: true},
@@ -13485,6 +13493,24 @@ var structFields = []struct {
getStruct(structKey{"mac_addr_remote", "remote", DirOut}),
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
}},
+ {structKey{"mac_addr", "mr_address", DirIn}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirIn}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirIn}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
+ {structKey{"mac_addr", "mr_address", DirInOut}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirInOut}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirInOut}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirInOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
+ {structKey{"mac_addr", "mr_address", DirOut}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirOut}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirOut}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
{structKey{"mac_addr", "sa_data", DirIn}, []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
getStruct(structKey{"mac_addr_local", "local", DirIn}),
@@ -13947,6 +13973,54 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsize", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fnumber", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"packet_fanout_val", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_fanout_val", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_fanout_val", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_mreq", "", DirIn}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_mreq", "", DirInOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_mreq", "", DirOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_pair", "", DirIn}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
+ {structKey{"packet_pair", "", DirInOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirInOut, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirInOut, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
+ {structKey{"packet_pair", "", DirOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
{structKey{"perf_event_attr", "", DirIn}, []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "parent", ByteSize: 0},
@@ -17202,6 +17276,66 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cid", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "typ", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"sockaddr_ll", "", DirIn}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "", DirInOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "", DirOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirIn}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirInOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
{structKey{"sockaddr_llc", "", DirIn}, []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sllc_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(26)},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sllc_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
@@ -17479,6 +17613,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirIn}),
getStruct(structKey{"sockaddr_in6", "in6", DirIn}),
getStruct(structKey{"sockaddr_nl", "nl", DirIn}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirIn}),
getStruct(structKey{"sockaddr_llc", "llc", DirIn}),
getStruct(structKey{"sockaddr_sco", "sco", DirIn}),
getStruct(structKey{"sockaddr_l2", "l2", DirIn}),
@@ -17497,6 +17632,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirInOut}),
getStruct(structKey{"sockaddr_in6", "in6", DirInOut}),
getStruct(structKey{"sockaddr_nl", "nl", DirInOut}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirInOut}),
getStruct(structKey{"sockaddr_llc", "llc", DirInOut}),
getStruct(structKey{"sockaddr_sco", "sco", DirInOut}),
getStruct(structKey{"sockaddr_l2", "l2", DirInOut}),
@@ -17515,6 +17651,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirOut}),
getStruct(structKey{"sockaddr_in6", "in6", DirOut}),
getStruct(structKey{"sockaddr_nl", "nl", DirOut}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirOut}),
getStruct(structKey{"sockaddr_llc", "llc", DirOut}),
getStruct(structKey{"sockaddr_sco", "sco", DirOut}),
getStruct(structKey{"sockaddr_l2", "l2", DirOut}),
@@ -20556,6 +20693,108 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cutime", ArgDir: DirOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cstime", ArgDir: DirOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"tpacket_req", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req_u", "", DirIn}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirIn}),
+ getStruct(structKey{"tpacket_req3", "req3", DirIn}),
+ }},
+ {structKey{"tpacket_req_u", "", DirInOut}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirInOut}),
+ getStruct(structKey{"tpacket_req3", "req3", DirInOut}),
+ }},
+ {structKey{"tpacket_req_u", "", DirOut}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirOut}),
+ getStruct(structKey{"tpacket_req3", "req3", DirOut}),
+ }},
{structKey{"tun_buffer", "", DirIn}, []Type{
getStruct(structKey{"tun_pi", "pi", DirIn}),
getStruct(structKey{"virtio_net_hdr", "hdr", DirIn}),
@@ -21620,6 +21859,7 @@ var Calls = []*Call{
&Call{Name: "accept$llc", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_llc")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 202},
&Call{Name: "accept$netrom", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_netrom")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 202},
&Call{Name: "accept$nfc_llcp", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 202},
+ &Call{Name: "accept$packet", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 202},
&Call{Name: "accept$unix", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 202},
&Call{Name: "accept4", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_storage", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 242},
&Call{Name: "accept4$ax25", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ax25")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ax25")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ax25", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 242},
@@ -21627,6 +21867,7 @@ var Calls = []*Call{
&Call{Name: "accept4$inet6", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_in6")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 242},
&Call{Name: "accept4$ipx", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ipx")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 242},
&Call{Name: "accept4$llc", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_llc")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 242},
+ &Call{Name: "accept4$packet", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 242},
&Call{Name: "accept4$unix", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 242},
&Call{Name: "acct", CallName: "acct", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", ArgDir: DirIn, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}}, NR: 89},
&Call{Name: "add_key", CallName: "add_key", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("key")}, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "key_type", Values: []string{"user\x00", "keyring\x00", "logon\x00", "trusted\x00", "big_key\x00", "dead\x00", ".request_key_auth\x00", "syzkaller\x00"}, Length: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "desc", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"key_desc", "", DirIn})}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "payload", ArgDir: DirIn, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "payload", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "paylen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "payload", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "keyring", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}}, NR: 217},
@@ -21644,6 +21885,7 @@ var Calls = []*Call{
&Call{Name: "bind$netlink", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 200},
&Call{Name: "bind$netrom", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 200},
&Call{Name: "bind$nfc_llcp", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 200},
+ &Call{Name: "bind$packet", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 200},
&Call{Name: "bind$unix", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 200},
&Call{Name: "bpf$BPF_PROG_ATTACH", CallName: "bpf", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(8)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"bpf_attach_arg", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 280},
&Call{Name: "bpf$BPF_PROG_DETACH", CallName: "bpf", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(9)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"bpf_detach_arg", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 280},
@@ -21681,6 +21923,7 @@ var Calls = []*Call{
&Call{Name: "connect$netrom", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 203},
&Call{Name: "connect$nfc_llcp", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 203},
&Call{Name: "connect$nfc_raw", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_raw")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 203},
+ &Call{Name: "connect$packet", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 203},
&Call{Name: "connect$unix", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 203},
&Call{Name: "delete_module", CallName: "delete_module", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "", Values: []string(nil), Length: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 512}}}, NR: 106},
&Call{Name: "dup", CallName: "dup", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("fd")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "oldfd", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}}, NR: 23},
@@ -21748,6 +21991,7 @@ var Calls = []*Call{
&Call{Name: "getpeername$llc", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 205},
&Call{Name: "getpeername$netlink", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 205},
&Call{Name: "getpeername$netrom", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 205},
+ &Call{Name: "getpeername$packet", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 205},
&Call{Name: "getpeername$unix", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 205},
&Call{Name: "getpgid", CallName: "getpgid", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("pid")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", ArgDir: DirIn, IsOptional: false}, Desc: resource("pid")}}, NR: 155},
&Call{Name: "getpid", CallName: "getpid", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("pid")}, Args: []Type{}, NR: 172},
@@ -21765,6 +22009,7 @@ var Calls = []*Call{
&Call{Name: "getsockname$llc", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 204},
&Call{Name: "getsockname$netlink", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 204},
&Call{Name: "getsockname$netrom", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 204},
+ &Call{Name: "getsockname$packet", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 204},
&Call{Name: "getsockname$unix", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 204},
&Call{Name: "getsockopt", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 209},
&Call{Name: "getsockopt$SO_BINDTODEVICE", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(25)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"devname", "", DirOut})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 209},
@@ -21909,6 +22154,8 @@ var Calls = []*Call{
&Call{Name: "getsockopt$netrom_NETROM_T2", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}}, NR: 209},
&Call{Name: "getsockopt$netrom_NETROM_T4", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}}, NR: 209},
&Call{Name: "getsockopt$nfc_llcp", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 209},
+ &Call{Name: "getsockopt$packet_buf", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5, 6, 13, 22}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 209},
+ &Call{Name: "getsockopt$packet_int", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 209},
&Call{Name: "getsockopt$sock_buf", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{28, 31, 26}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 209},
&Call{Name: "getsockopt$sock_cred", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ucred", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 209},
&Call{Name: "getsockopt$sock_int", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{30, 6, 1, 39, 4, 5, 9, 42, 12, 38, 8, 33, 18, 19, 2, 7, 32, 29, 3, 15, 10, 11, 16, 35, 44, 34, 40, 41, 43, 45, 46, 47}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 209},
@@ -22570,6 +22817,7 @@ var Calls = []*Call{
&Call{Name: "recvfrom$inet6", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 207},
&Call{Name: "recvfrom$ipx", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 207},
&Call{Name: "recvfrom$llc", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 207},
+ &Call{Name: "recvfrom$packet", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 207},
&Call{Name: "recvfrom$unix", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 207},
&Call{Name: "recvmmsg", CallName: "recvmmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", ArgDir: DirIn, IsOptional: false}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"recv_mmsghdr", "", DirIn}), Kind: ArrayRandLen}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "mmsg", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"timespec", "", DirIn})}}, NR: 243},
&Call{Name: "recvmsg", CallName: "recvmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"recv_msghdr", "", DirIn})}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}}, NR: 212},
@@ -22637,6 +22885,7 @@ var Calls = []*Call{
&Call{Name: "sendto$inet6", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 206},
&Call{Name: "sendto$ipx", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 206},
&Call{Name: "sendto$llc", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 206},
+ &Call{Name: "sendto$packet", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 206},
&Call{Name: "sendto$unix", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 206},
&Call{Name: "set_mempolicy", CallName: "set_mempolicy", Native: true, Args: []Type{&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "mode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 2, 3, 1, 32768, 16384}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "nodemask", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "maxnode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, NR: 237},
&Call{Name: "set_robust_list", CallName: "set_robust_list", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "head", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"robust_list", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "head", ByteSize: 0}}, NR: 99},
@@ -22828,6 +23077,14 @@ var Calls = []*Call{
&Call{Name: "setsockopt$netrom_NETROM_T4", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 208},
&Call{Name: "setsockopt$nfc_llcp_NFC_LLCP_MIUX", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 208},
&Call{Name: "setsockopt$nfc_llcp_NFC_LLCP_RW", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 208},
+ &Call{Name: "setsockopt$packet_add_memb", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_mreq", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 208},
+ &Call{Name: "setsockopt$packet_buf", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5, 6, 13, 22}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 208},
+ &Call{Name: "setsockopt$packet_drop_memb", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_mreq", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 208},
+ &Call{Name: "setsockopt$packet_fanout", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(18)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_fanout_val", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 208},
+ &Call{Name: "setsockopt$packet_fanout_data", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(22)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sock_fprog", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 208},
+ &Call{Name: "setsockopt$packet_int", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 208},
+ &Call{Name: "setsockopt$packet_rx_ring", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(5)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"tpacket_req_u", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 208},
+ &Call{Name: "setsockopt$packet_tx_ring", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(13)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"tpacket_req_u", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 208},
&Call{Name: "setsockopt$sock_attach_bpf", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(50)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_bpf_prog")}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 208},
&Call{Name: "setsockopt$sock_cred", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ucred", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 208},
&Call{Name: "setsockopt$sock_int", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{30, 6, 1, 39, 4, 5, 9, 42, 12, 38, 8, 33, 18, 19, 2, 7, 32, 29, 3, 15, 10, 11, 16, 35, 44, 34, 40, 41, 43, 45, 46, 47}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 208},
@@ -22883,6 +23140,7 @@ var Calls = []*Call{
&Call{Name: "socket$netrom", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_netrom")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(5)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 198},
&Call{Name: "socket$nfc_llcp", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(39)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}}, NR: 198},
&Call{Name: "socket$nfc_raw", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_raw")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(39)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 198},
+ &Call{Name: "socket$packet", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(768)}}, NR: 198},
&Call{Name: "socket$unix", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 198},
&Call{Name: "socketpair", CallName: "socketpair", Native: true, Args: []Type{&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"pipefd", "", DirOut})}}, NR: 199},
&Call{Name: "socketpair$ax25", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(3)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2, 5, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ax25_pair", "", DirOut})}}, NR: 199},
@@ -22902,6 +23160,7 @@ var Calls = []*Call{
&Call{Name: "socketpair$inet_udp", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"udp_pair", "", DirOut})}}, NR: 199},
&Call{Name: "socketpair$ipx", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(4)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ipx_pair", "", DirOut})}}, NR: 199},
&Call{Name: "socketpair$llc", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(26)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2, 1}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"llc_pair", "", DirOut})}}, NR: 199},
+ &Call{Name: "socketpair$packet", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(768)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_pair", "", DirOut})}}, NR: 199},
&Call{Name: "socketpair$unix", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"unix_pair", "", DirOut})}}, NR: 199},
&Call{Name: "splice", CallName: "splice", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offin", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Kind: IntFileoff}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdout", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offout", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Kind: IntFileoff}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 4, 8}}}, NR: 76},
&Call{Name: "statfs", CallName: "statfs", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "path", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}}, NR: 43},
@@ -23532,6 +23791,7 @@ const (
ETH_P_AARP = 33011
ETH_P_AF_IUCV = 64507
ETH_P_ALL = 3
+ ETH_P_ALL_BE = 768
ETH_P_AOE = 34978
ETH_P_ARCNET = 26
ETH_P_ARP = 2054
@@ -24649,6 +24909,36 @@ const (
O_SYNC = 1052672
O_TRUNC = 512
O_WRONLY = 1
+ PACKET_ADD_MEMBERSHIP = 1
+ PACKET_AUXDATA = 8
+ PACKET_COPY_THRESH = 7
+ PACKET_DROP_MEMBERSHIP = 2
+ PACKET_FANOUT = 18
+ PACKET_FANOUT_CBPF = 6
+ PACKET_FANOUT_CPU = 2
+ PACKET_FANOUT_DATA = 22
+ PACKET_FANOUT_EBPF = 7
+ PACKET_FANOUT_FLAG_DEFRAG = 32768
+ PACKET_FANOUT_FLAG_ROLLOVER = 4096
+ PACKET_FANOUT_HASH = 0
+ PACKET_FANOUT_LB = 1
+ PACKET_FANOUT_QM = 5
+ PACKET_FANOUT_RND = 4
+ PACKET_FANOUT_ROLLOVER = 3
+ PACKET_HDRLEN = 11
+ PACKET_LOSS = 14
+ PACKET_ORIGDEV = 9
+ PACKET_QDISC_BYPASS = 20
+ PACKET_RECV_OUTPUT = 3
+ PACKET_RESERVE = 12
+ PACKET_RX_RING = 5
+ PACKET_STATISTICS = 6
+ PACKET_TIMESTAMP = 17
+ PACKET_TX_HAS_OFF = 19
+ PACKET_TX_RING = 13
+ PACKET_TX_TIMESTAMP = 16
+ PACKET_VERSION = 10
+ PACKET_VNET_HDR = 15
PERF_EVENT_IOC_DISABLE = 9217
PERF_EVENT_IOC_ENABLE = 9216
PERF_EVENT_IOC_ID = 2148017159
diff --git a/sys/sys_ppc64le.go b/sys/sys_ppc64le.go
index 809c8a1f8..0dd395889 100644
--- a/sys/sys_ppc64le.go
+++ b/sys/sys_ppc64le.go
@@ -78,6 +78,7 @@ var resourceArray = []*ResourceDesc{
&ResourceDesc{Name: "sock_netrom", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_netrom"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_nfc_llcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_nfc_llcp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_nfc_raw", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_nfc_raw"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
+ &ResourceDesc{Name: "sock_packet", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_packet"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_sctp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in", "sock_sctp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_sctp6", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in6", "sock_sctp6"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
&ResourceDesc{Name: "sock_tcp", Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "resource-type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, Kind: []string{"fd", "sock", "sock_in", "sock_tcp"}, Values: []uint64{0xffffffffffffffff, 18446744073709551516}},
@@ -498,6 +499,9 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "netlink_msg", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "nfc_llcp_send_msghdr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "nl_mmap_req", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_fanout_val", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_mreq", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "packet_pair", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "perf_event_attr", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "pipefd", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "pollfd", IsOptional: false}},
@@ -607,6 +611,7 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_in6", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ipx", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_l2", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_ll", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_llc", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "sockaddr_netrom", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "sockaddr_nfc", IsOptional: false}},
@@ -738,6 +743,9 @@ var structArray = []Type{
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_selection", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tiocl_shift_state", IsOptional: false}},
&StructType{TypeCommon: TypeCommon{TypeName: "tms", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tpacket_req", IsOptional: false}},
+ &StructType{TypeCommon: TypeCommon{TypeName: "tpacket_req3", IsOptional: false}},
+ &UnionType{TypeCommon: TypeCommon{TypeName: "tpacket_req_u", IsOptional: false}, IsVarlen: true},
&UnionType{TypeCommon: TypeCommon{TypeName: "tun_buffer", IsOptional: false}, IsVarlen: true},
&StructType{TypeCommon: TypeCommon{TypeName: "tun_filter", IsOptional: false}},
&UnionType{TypeCommon: TypeCommon{TypeName: "tun_payload", IsOptional: false}, IsVarlen: true},
@@ -13485,6 +13493,24 @@ var structFields = []struct {
getStruct(structKey{"mac_addr_remote", "remote", DirOut}),
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
}},
+ {structKey{"mac_addr", "mr_address", DirIn}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirIn}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirIn}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
+ {structKey{"mac_addr", "mr_address", DirInOut}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirInOut}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirInOut}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirInOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
+ {structKey{"mac_addr", "mr_address", DirOut}, []Type{
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
+ getStruct(structKey{"mac_addr_local", "local", DirOut}),
+ getStruct(structKey{"mac_addr_remote", "remote", DirOut}),
+ &BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRange, RangeBegin: 6, RangeEnd: 6},
+ }},
{structKey{"mac_addr", "sa_data", DirIn}, []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0x0)}, Kind: ArrayRangeLen, RangeBegin: 6, RangeEnd: 6},
getStruct(structKey{"mac_addr_local", "local", DirIn}),
@@ -13947,6 +13973,54 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fsize", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "fnumber", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"packet_fanout_val", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_fanout_val", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_fanout_val", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "id", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5, 6, 7}},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{4096, 32768}},
+ }},
+ {structKey{"packet_mreq", "", DirIn}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_mreq", "", DirInOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_mreq", "", DirOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "mr_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "mr_type", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "mr_alen", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Buf: "mr_address", ByteSize: 0},
+ getStruct(structKey{"mac_addr", "mr_address", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"packet_pair", "", DirIn}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
+ {structKey{"packet_pair", "", DirInOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirInOut, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirInOut, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
+ {structKey{"packet_pair", "", DirOut}, []Type{
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd0", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd1", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")},
+ }},
{structKey{"perf_event_attr", "", DirIn}, []Type{
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4, 5}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "parent", ByteSize: 0},
@@ -17202,6 +17276,66 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int16", FldName: "cid", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "typ", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"sockaddr_ll", "", DirIn}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "", DirInOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "", DirOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirIn}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirIn, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirIn}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirIn, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirInOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirInOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirInOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirInOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
+ {structKey{"sockaddr_ll", "ll", DirOut}, []Type{
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_family", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)},
+ &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sll_protocol", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
+ &ResourceType{TypeCommon: TypeCommon{TypeName: "ifindex", FldName: "sll_ifindex", ArgDir: DirOut, IsOptional: false}, Desc: resource("ifindex")},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_hatype", ArgDir: DirOut, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "sll_pkttype", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}},
+ &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sll_halen", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)},
+ getStruct(structKey{"mac_addr", "sll_addr", DirOut}),
+ &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "pad", ArgDir: DirOut, IsOptional: false}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, Kind: ArrayRangeLen, RangeBegin: 2, RangeEnd: 2},
+ }},
{structKey{"sockaddr_llc", "", DirIn}, []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "sllc_family", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: false, BitfieldLen: 0}, Val: uint64(26)},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "sllc_protocol", ArgDir: DirIn, IsOptional: false}, TypeSize: 2, BigEndian: true, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 12, 13, 16, 17, 21, 22, 23, 24, 25, 26, 27, 28, 245, 246, 247, 248}},
@@ -17479,6 +17613,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirIn}),
getStruct(structKey{"sockaddr_in6", "in6", DirIn}),
getStruct(structKey{"sockaddr_nl", "nl", DirIn}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirIn}),
getStruct(structKey{"sockaddr_llc", "llc", DirIn}),
getStruct(structKey{"sockaddr_sco", "sco", DirIn}),
getStruct(structKey{"sockaddr_l2", "l2", DirIn}),
@@ -17497,6 +17632,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirInOut}),
getStruct(structKey{"sockaddr_in6", "in6", DirInOut}),
getStruct(structKey{"sockaddr_nl", "nl", DirInOut}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirInOut}),
getStruct(structKey{"sockaddr_llc", "llc", DirInOut}),
getStruct(structKey{"sockaddr_sco", "sco", DirInOut}),
getStruct(structKey{"sockaddr_l2", "l2", DirInOut}),
@@ -17515,6 +17651,7 @@ var structFields = []struct {
getStruct(structKey{"sockaddr_ipx", "ipx", DirOut}),
getStruct(structKey{"sockaddr_in6", "in6", DirOut}),
getStruct(structKey{"sockaddr_nl", "nl", DirOut}),
+ getStruct(structKey{"sockaddr_ll", "ll", DirOut}),
getStruct(structKey{"sockaddr_llc", "llc", DirOut}),
getStruct(structKey{"sockaddr_sco", "sco", DirOut}),
getStruct(structKey{"sockaddr_l2", "l2", DirOut}),
@@ -20556,6 +20693,108 @@ var structFields = []struct {
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cutime", ArgDir: DirOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "cstime", ArgDir: DirOut, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}},
}},
+ {structKey{"tpacket_req", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req", "req", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirIn}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirInOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req3", "req3", DirOut}, []Type{
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_block_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_size", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_frame_nr", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_retire_blk_tov", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_sizeof_priv", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "tp_feature_req_word", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}},
+ }},
+ {structKey{"tpacket_req_u", "", DirIn}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirIn}),
+ getStruct(structKey{"tpacket_req3", "req3", DirIn}),
+ }},
+ {structKey{"tpacket_req_u", "", DirInOut}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirInOut}),
+ getStruct(structKey{"tpacket_req3", "req3", DirInOut}),
+ }},
+ {structKey{"tpacket_req_u", "", DirOut}, []Type{
+ getStruct(structKey{"tpacket_req", "req", DirOut}),
+ getStruct(structKey{"tpacket_req3", "req3", DirOut}),
+ }},
{structKey{"tun_buffer", "", DirIn}, []Type{
getStruct(structKey{"tun_pi", "pi", DirIn}),
getStruct(structKey{"virtio_net_hdr", "hdr", DirIn}),
@@ -21620,6 +21859,7 @@ var Calls = []*Call{
&Call{Name: "accept$llc", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_llc")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 330},
&Call{Name: "accept$netrom", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_netrom")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 330},
&Call{Name: "accept$nfc_llcp", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 330},
+ &Call{Name: "accept$packet", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 330},
&Call{Name: "accept$unix", CallName: "accept", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 330},
&Call{Name: "accept4", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_storage", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 344},
&Call{Name: "accept4$ax25", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ax25")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ax25", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ax25")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ax25", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 344},
@@ -21627,6 +21867,7 @@ var Calls = []*Call{
&Call{Name: "accept4$inet6", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_in6")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 344},
&Call{Name: "accept4$ipx", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_ipx")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 344},
&Call{Name: "accept4$llc", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_llc")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 344},
+ &Call{Name: "accept4$packet", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 344},
&Call{Name: "accept4$unix", CallName: "accept4", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 524288}}}, NR: 344},
&Call{Name: "acct", CallName: "acct", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "filename", ArgDir: DirIn, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}}, NR: 51},
&Call{Name: "add_key", CallName: "add_key", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "key", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("key")}, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "type", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "key_type", Values: []string{"user\x00", "keyring\x00", "logon\x00", "trusted\x00", "big_key\x00", "dead\x00", ".request_key_auth\x00", "syzkaller\x00"}, Length: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "desc", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"key_desc", "", DirIn})}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "payload", ArgDir: DirIn, IsOptional: true}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "payload", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "paylen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "payload", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "keyring", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{18446744073709551615, 18446744073709551614, 18446744073709551613, 18446744073709551612, 18446744073709551611, 18446744073709551610, 18446744073709551609, 18446744073709551608}}}, NR: 269},
@@ -21645,6 +21886,7 @@ var Calls = []*Call{
&Call{Name: "bind$netlink", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 327},
&Call{Name: "bind$netrom", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 327},
&Call{Name: "bind$nfc_llcp", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 327},
+ &Call{Name: "bind$packet", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 327},
&Call{Name: "bind$unix", CallName: "bind", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 327},
&Call{Name: "bpf$BPF_PROG_ATTACH", CallName: "bpf", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(8)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"bpf_attach_arg", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 361},
&Call{Name: "bpf$BPF_PROG_DETACH", CallName: "bpf", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "cmd", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(9)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"bpf_detach_arg", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "size", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 361},
@@ -21684,6 +21926,7 @@ var Calls = []*Call{
&Call{Name: "connect$netrom", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 328},
&Call{Name: "connect$nfc_llcp", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc_llcp", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 328},
&Call{Name: "connect$nfc_raw", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_raw")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nfc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 328},
+ &Call{Name: "connect$packet", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 328},
&Call{Name: "connect$unix", CallName: "connect", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 328},
&Call{Name: "creat", CallName: "creat", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("fd")}, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "mode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{256, 128, 64, 32, 16, 8, 4, 2, 1}}}, NR: 8},
&Call{Name: "delete_module", CallName: "delete_module", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "name", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "string", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferString, SubKind: "", Values: []string(nil), Length: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "flags", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 512}}}, NR: 129},
@@ -21759,6 +22002,7 @@ var Calls = []*Call{
&Call{Name: "getpeername$llc", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 332},
&Call{Name: "getpeername$netlink", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 332},
&Call{Name: "getpeername$netrom", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 332},
+ &Call{Name: "getpeername$packet", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 332},
&Call{Name: "getpeername$unix", CallName: "getpeername", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peer", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "peerlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "peer", ByteSize: 0}}}, NR: 332},
&Call{Name: "getpgid", CallName: "getpgid", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("pid")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", ArgDir: DirIn, IsOptional: false}, Desc: resource("pid")}}, NR: 132},
&Call{Name: "getpgrp", CallName: "getpgrp", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("pid")}, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "pid", FldName: "pid", ArgDir: DirIn, IsOptional: false}, Desc: resource("pid")}}, NR: 65},
@@ -21777,6 +22021,7 @@ var Calls = []*Call{
&Call{Name: "getsockname$llc", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_llc", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 331},
&Call{Name: "getsockname$netlink", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netlink", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netlink")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_nl", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 331},
&Call{Name: "getsockname$netrom", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_netrom", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 331},
+ &Call{Name: "getsockname$packet", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_ll", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 331},
&Call{Name: "getsockname$unix", CallName: "getsockname", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sockaddr_un", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}}, NR: 331},
&Call{Name: "getsockopt", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 340},
&Call{Name: "getsockopt$SO_BINDTODEVICE", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(25)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"devname", "", DirOut})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 340},
@@ -21921,6 +22166,8 @@ var Calls = []*Call{
&Call{Name: "getsockopt$netrom_NETROM_T2", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}}, NR: 340},
&Call{Name: "getsockopt$netrom_NETROM_T4", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}}, NR: 340},
&Call{Name: "getsockopt$nfc_llcp", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 1, 2, 3, 4}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "arg", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 340},
+ &Call{Name: "getsockopt$packet_buf", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5, 6, 13, 22}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 340},
+ &Call{Name: "getsockopt$packet_int", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 340},
&Call{Name: "getsockopt$sock_buf", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{28, 31, 26}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 340},
&Call{Name: "getsockopt$sock_cred", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(21)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ucred", "", DirOut})}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 340},
&Call{Name: "getsockopt$sock_int", CallName: "getsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{30, 6, 1, 39, 4, 5, 9, 42, 12, 38, 8, 33, 16, 17, 2, 7, 32, 29, 3, 15, 10, 11, 20, 35, 44, 34, 40, 41, 43, 45, 46, 47}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "", ArgDir: DirInOut, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}}, NR: 340},
@@ -22566,6 +22813,7 @@ var Calls = []*Call{
&Call{Name: "recvfrom$inet6", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 337},
&Call{Name: "recvfrom$ipx", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 337},
&Call{Name: "recvfrom$llc", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 337},
+ &Call{Name: "recvfrom$packet", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 337},
&Call{Name: "recvfrom$unix", CallName: "recvfrom", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirOut, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 337},
&Call{Name: "recvmmsg", CallName: "recvmmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "mmsg", ArgDir: DirIn, IsOptional: false}, Type: &ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"recv_mmsghdr", "", DirIn}), Kind: ArrayRandLen}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "vlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "mmsg", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "timeout", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"timespec", "", DirIn})}}, NR: 343},
&Call{Name: "recvmsg", CallName: "recvmsg", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "msg", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"recv_msghdr", "", DirIn})}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1073741824, 64, 8192, 1, 2, 32, 256, 65536}}}, NR: 342},
@@ -22619,6 +22867,7 @@ var Calls = []*Call{
&Call{Name: "sendto$inet6", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_in6", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_in6")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_in6", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 335},
&Call{Name: "sendto$ipx", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_ipx", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_ipx")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ipx", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 335},
&Call{Name: "sendto$llc", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_llc", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_llc")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_llc", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 335},
+ &Call{Name: "sendto$packet", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_ll", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 335},
&Call{Name: "sendto$unix", CallName: "sendto", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_unix")}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "buf", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "buf", ByteSize: 0}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2048, 4, 64, 128, 32768, 16384, 1, 16, 262144, 536870912}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "addr", ArgDir: DirIn, IsOptional: true}, Type: getStruct(structKey{"sockaddr_un", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "addrlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "addr", ByteSize: 0}}, NR: 335},
&Call{Name: "set_mempolicy", CallName: "set_mempolicy", Native: true, Args: []Type{&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "mode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{0, 2, 3, 1, 32768, 16384}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "nodemask", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "intptr", FldName: "maxnode", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}}, NR: 261},
&Call{Name: "set_robust_list", CallName: "set_robust_list", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "head", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"robust_list", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "head", ByteSize: 0}}, NR: 300},
@@ -22810,6 +23059,14 @@ var Calls = []*Call{
&Call{Name: "setsockopt$netrom_NETROM_T4", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_netrom")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(259)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 339},
&Call{Name: "setsockopt$nfc_llcp_NFC_LLCP_MIUX", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 339},
&Call{Name: "setsockopt$nfc_llcp_NFC_LLCP_RW", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(280)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "opt", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "arg", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "arglen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "arg", ByteSize: 0}}, NR: 339},
+ &Call{Name: "setsockopt$packet_add_memb", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_mreq", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 339},
+ &Call{Name: "setsockopt$packet_buf", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5, 6, 13, 22}}, &PtrType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "buffer", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Kind: BufferBlobRand}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 339},
+ &Call{Name: "setsockopt$packet_drop_memb", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_mreq", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 339},
+ &Call{Name: "setsockopt$packet_fanout", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(18)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_fanout_val", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 339},
+ &Call{Name: "setsockopt$packet_fanout_data", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(22)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"sock_fprog", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 339},
+ &Call{Name: "setsockopt$packet_int", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 7, 8, 9, 10, 11, 12, 14, 15, 16, 17, 18, 19, 20}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 339},
+ &Call{Name: "setsockopt$packet_rx_ring", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(5)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"tpacket_req_u", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 339},
+ &Call{Name: "setsockopt$packet_tx_ring", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock_packet")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(263)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(13)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"tpacket_req_u", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 339},
&Call{Name: "setsockopt$sock_attach_bpf", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(50)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &ResourceType{TypeCommon: TypeCommon{TypeName: "fd_bpf_prog", FldName: "", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd_bpf_prog")}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 339},
&Call{Name: "setsockopt$sock_cred", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(21)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ucred", "", DirIn})}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 339},
&Call{Name: "setsockopt$sock_int", CallName: "setsockopt", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "sock", FldName: "fd", ArgDir: DirIn, IsOptional: false}, Desc: resource("sock")}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "optname", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{30, 6, 1, 39, 4, 5, 9, 42, 12, 38, 8, 33, 16, 17, 2, 7, 32, 29, 3, 15, 10, 11, 20, 35, 44, 34, 40, 41, 43, 45, 46, 47}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", ArgDir: DirIn, IsOptional: false}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "", ArgDir: DirIn, IsOptional: false}, TypeSize: 4, BigEndian: false, BitfieldLen: 0}}}, &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Buf: "optval", ByteSize: 0}}, NR: 339},
@@ -22854,6 +23111,7 @@ var Calls = []*Call{
&Call{Name: "socket$netrom", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_netrom", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_netrom")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(6)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(5)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 326},
&Call{Name: "socket$nfc_llcp", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_llcp", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_llcp")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(39)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}}, NR: 326},
&Call{Name: "socket$nfc_raw", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_nfc_raw", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_nfc_raw")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(39)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 3}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 326},
+ &Call{Name: "socket$packet", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_packet", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_packet")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(3)}}, NR: 326},
&Call{Name: "socket$unix", CallName: "socket", Native: true, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_unix", FldName: "ret", ArgDir: DirOut, IsOptional: false}, Desc: resource("sock_unix")}, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}}, NR: 326},
&Call{Name: "socketpair", CallName: "socketpair", Native: true, Args: []Type{&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 10, 4, 16, 9, 3, 8, 5, 17}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 3, 4, 5, 6, 10, 2048, 524288}}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 1, BigEndian: false, BitfieldLen: 0}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"pipefd", "", DirOut})}}, NR: 333},
&Call{Name: "socketpair$ax25", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(3)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2, 5, 3}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 6, 7, 8, 195, 196, 202, 203, 204, 205, 206, 207, 240}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ax25_pair", "", DirOut})}}, NR: 333},
@@ -22873,6 +23131,7 @@ var Calls = []*Call{
&Call{Name: "socketpair$inet_udp", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"udp_pair", "", DirOut})}}, NR: 333},
&Call{Name: "socketpair$ipx", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(4)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(2)}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"ipx_pair", "", DirOut})}}, NR: 333},
&Call{Name: "socketpair$llc", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(26)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{2, 1}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"llc_pair", "", DirOut})}}, NR: 333},
+ &Call{Name: "socketpair$packet", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(17)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{3, 2}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(3)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"packet_pair", "", DirOut})}}, NR: 333},
&Call{Name: "socketpair$unix", CallName: "socketpair", Native: true, Args: []Type{&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(1)}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "type", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 5}}, &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Val: uint64(0)}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"unix_pair", "", DirOut})}}, NR: 333},
&Call{Name: "splice", CallName: "splice", Native: true, Args: []Type{&ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdin", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offin", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Kind: IntFileoff}, &ResourceType{TypeCommon: TypeCommon{TypeName: "fd", FldName: "fdout", ArgDir: DirIn, IsOptional: false}, Desc: resource("fd")}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "fileoff", FldName: "offout", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Kind: IntFileoff}, &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int64", FldName: "len", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}}, &FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "flags", FldName: "f", ArgDir: DirIn, IsOptional: false}, TypeSize: 8, BigEndian: false, BitfieldLen: 0}, Vals: []uint64{1, 2, 4, 8}}}, NR: 283},
&Call{Name: "stat", CallName: "stat", Native: true, Args: []Type{&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "file", ArgDir: DirIn, IsOptional: false}, Type: &BufferType{TypeCommon: TypeCommon{TypeName: "filename", FldName: "", ArgDir: DirIn, IsOptional: false}, Kind: BufferFilename}}, &PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "statbuf", ArgDir: DirIn, IsOptional: false}, Type: getStruct(structKey{"stat", "", DirOut})}}, NR: 106},
@@ -23513,6 +23772,7 @@ const (
ETH_P_AARP = 33011
ETH_P_AF_IUCV = 64507
ETH_P_ALL = 3
+ ETH_P_ALL_BE = 3
ETH_P_AOE = 34978
ETH_P_ARCNET = 26
ETH_P_ARP = 2054
@@ -24613,6 +24873,36 @@ const (
O_SYNC = 1052672
O_TRUNC = 512
O_WRONLY = 1
+ PACKET_ADD_MEMBERSHIP = 1
+ PACKET_AUXDATA = 8
+ PACKET_COPY_THRESH = 7
+ PACKET_DROP_MEMBERSHIP = 2
+ PACKET_FANOUT = 18
+ PACKET_FANOUT_CBPF = 6
+ PACKET_FANOUT_CPU = 2
+ PACKET_FANOUT_DATA = 22
+ PACKET_FANOUT_EBPF = 7
+ PACKET_FANOUT_FLAG_DEFRAG = 32768
+ PACKET_FANOUT_FLAG_ROLLOVER = 4096
+ PACKET_FANOUT_HASH = 0
+ PACKET_FANOUT_LB = 1
+ PACKET_FANOUT_QM = 5
+ PACKET_FANOUT_RND = 4
+ PACKET_FANOUT_ROLLOVER = 3
+ PACKET_HDRLEN = 11
+ PACKET_LOSS = 14
+ PACKET_ORIGDEV = 9
+ PACKET_QDISC_BYPASS = 20
+ PACKET_RECV_OUTPUT = 3
+ PACKET_RESERVE = 12
+ PACKET_RX_RING = 5
+ PACKET_STATISTICS = 6
+ PACKET_TIMESTAMP = 17
+ PACKET_TX_HAS_OFF = 19
+ PACKET_TX_RING = 13
+ PACKET_TX_TIMESTAMP = 16
+ PACKET_VERSION = 10
+ PACKET_VNET_HDR = 15
PERF_EVENT_IOC_DISABLE = 536880129
PERF_EVENT_IOC_ENABLE = 536880128
PERF_EVENT_IOC_ID = 1074275335