From 76bc1b9d35f71097cbe21873f6bc2a3689260475 Mon Sep 17 00:00:00 2001 From: Andrey Konovalov Date: Tue, 7 Mar 2017 16:18:11 +0100 Subject: sys: add AF_PACKET sockets description --- sys/sys_arm.go | 290 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 290 insertions(+) (limited to 'sys/sys_arm.go') 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 -- cgit mrf-deployment