sys/linux: add udplite sockets

This commit is contained in:
Dmitry Vyukov 2018-06-08 20:51:57 +02:00
parent 721401058c
commit 866118af36
12 changed files with 208 additions and 38 deletions

View File

@ -2,11 +2,11 @@
#if defined(__i386__) || 0
#define GOARCH "386"
#define SYZ_REVISION "4277a454526c67cd782af4f21917c21a4e6b8b6f"
#define SYZ_REVISION "eda3de1125f0e93ef7b53a4612abbf97269305da"
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
#define SYZ_SYSCALL_COUNT 1961
#define SYZ_SYSCALL_COUNT 1965
const call_t syscalls[] = {
{"accept4", 364},
{"accept4$alg", 364},
@ -1779,6 +1779,7 @@ const call_t syscalls[] = {
{"socket$inet6_sctp", 359},
{"socket$inet6_tcp", 359},
{"socket$inet6_udp", 359},
{"socket$inet6_udplite", 359},
{"socket$inet_dccp", 359},
{"socket$inet_icmp", 359},
{"socket$inet_icmp_raw", 359},
@ -1786,6 +1787,7 @@ const call_t syscalls[] = {
{"socket$inet_smc", 359},
{"socket$inet_tcp", 359},
{"socket$inet_udp", 359},
{"socket$inet_udplite", 359},
{"socket$ipx", 359},
{"socket$kcm", 359},
{"socket$key", 359},
@ -1815,6 +1817,7 @@ const call_t syscalls[] = {
{"socketpair$inet6_sctp", 360},
{"socketpair$inet6_tcp", 360},
{"socketpair$inet6_udp", 360},
{"socketpair$inet6_udplite", 360},
{"socketpair$inet_dccp", 360},
{"socketpair$inet_icmp", 360},
{"socketpair$inet_icmp_raw", 360},
@ -1822,6 +1825,7 @@ const call_t syscalls[] = {
{"socketpair$inet_smc", 360},
{"socketpair$inet_tcp", 360},
{"socketpair$inet_udp", 360},
{"socketpair$inet_udplite", 360},
{"socketpair$ipx", 360},
{"socketpair$packet", 360},
{"socketpair$unix", 360},
@ -1975,11 +1979,11 @@ const call_t syscalls[] = {
#if defined(__x86_64__) || 0
#define GOARCH "amd64"
#define SYZ_REVISION "ea5d0dfbc1565cb7d0be88b4a71f83337d7767c6"
#define SYZ_REVISION "272b01a3b16d0c410493224a23f0e9513c21aad5"
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
#define SYZ_SYSCALL_COUNT 2013
#define SYZ_SYSCALL_COUNT 2017
const call_t syscalls[] = {
{"accept", 43},
{"accept$alg", 43},
@ -3804,6 +3808,7 @@ const call_t syscalls[] = {
{"socket$inet6_sctp", 41},
{"socket$inet6_tcp", 41},
{"socket$inet6_udp", 41},
{"socket$inet6_udplite", 41},
{"socket$inet_dccp", 41},
{"socket$inet_icmp", 41},
{"socket$inet_icmp_raw", 41},
@ -3811,6 +3816,7 @@ const call_t syscalls[] = {
{"socket$inet_smc", 41},
{"socket$inet_tcp", 41},
{"socket$inet_udp", 41},
{"socket$inet_udplite", 41},
{"socket$ipx", 41},
{"socket$kcm", 41},
{"socket$key", 41},
@ -3840,6 +3846,7 @@ const call_t syscalls[] = {
{"socketpair$inet6_sctp", 53},
{"socketpair$inet6_tcp", 53},
{"socketpair$inet6_udp", 53},
{"socketpair$inet6_udplite", 53},
{"socketpair$inet_dccp", 53},
{"socketpair$inet_icmp", 53},
{"socketpair$inet_icmp_raw", 53},
@ -3847,6 +3854,7 @@ const call_t syscalls[] = {
{"socketpair$inet_smc", 53},
{"socketpair$inet_tcp", 53},
{"socketpair$inet_udp", 53},
{"socketpair$inet_udplite", 53},
{"socketpair$ipx", 53},
{"socketpair$packet", 53},
{"socketpair$unix", 53},
@ -4000,11 +4008,11 @@ const call_t syscalls[] = {
#if defined(__arm__) || 0
#define GOARCH "arm"
#define SYZ_REVISION "351f31a1a25f912453a202d9a5877ed79cf0417f"
#define SYZ_REVISION "b13a1e650be47cd4a9cc00ddb999fdfd4382e3fa"
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
#define SYZ_SYSCALL_COUNT 1969
#define SYZ_SYSCALL_COUNT 1973
const call_t syscalls[] = {
{"accept", 285},
{"accept$alg", 285},
@ -5788,6 +5796,7 @@ const call_t syscalls[] = {
{"socket$inet6_sctp", 281},
{"socket$inet6_tcp", 281},
{"socket$inet6_udp", 281},
{"socket$inet6_udplite", 281},
{"socket$inet_dccp", 281},
{"socket$inet_icmp", 281},
{"socket$inet_icmp_raw", 281},
@ -5795,6 +5804,7 @@ const call_t syscalls[] = {
{"socket$inet_smc", 281},
{"socket$inet_tcp", 281},
{"socket$inet_udp", 281},
{"socket$inet_udplite", 281},
{"socket$ipx", 281},
{"socket$kcm", 281},
{"socket$key", 281},
@ -5824,6 +5834,7 @@ const call_t syscalls[] = {
{"socketpair$inet6_sctp", 288},
{"socketpair$inet6_tcp", 288},
{"socketpair$inet6_udp", 288},
{"socketpair$inet6_udplite", 288},
{"socketpair$inet_dccp", 288},
{"socketpair$inet_icmp", 288},
{"socketpair$inet_icmp_raw", 288},
@ -5831,6 +5842,7 @@ const call_t syscalls[] = {
{"socketpair$inet_smc", 288},
{"socketpair$inet_tcp", 288},
{"socketpair$inet_udp", 288},
{"socketpair$inet_udplite", 288},
{"socketpair$ipx", 288},
{"socketpair$packet", 288},
{"socketpair$unix", 288},
@ -5981,11 +5993,11 @@ const call_t syscalls[] = {
#if defined(__aarch64__) || 0
#define GOARCH "arm64"
#define SYZ_REVISION "a572239f5db6b2e348768b5c0bc0f50bc156090c"
#define SYZ_REVISION "8f35ff6320416fc8d2dd77a773e6331b63cb6c8e"
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
#define SYZ_SYSCALL_COUNT 1942
#define SYZ_SYSCALL_COUNT 1946
const call_t syscalls[] = {
{"accept", 202},
{"accept$alg", 202},
@ -7750,6 +7762,7 @@ const call_t syscalls[] = {
{"socket$inet6_sctp", 198},
{"socket$inet6_tcp", 198},
{"socket$inet6_udp", 198},
{"socket$inet6_udplite", 198},
{"socket$inet_dccp", 198},
{"socket$inet_icmp", 198},
{"socket$inet_icmp_raw", 198},
@ -7757,6 +7770,7 @@ const call_t syscalls[] = {
{"socket$inet_smc", 198},
{"socket$inet_tcp", 198},
{"socket$inet_udp", 198},
{"socket$inet_udplite", 198},
{"socket$ipx", 198},
{"socket$kcm", 198},
{"socket$key", 198},
@ -7786,6 +7800,7 @@ const call_t syscalls[] = {
{"socketpair$inet6_sctp", 199},
{"socketpair$inet6_tcp", 199},
{"socketpair$inet6_udp", 199},
{"socketpair$inet6_udplite", 199},
{"socketpair$inet_dccp", 199},
{"socketpair$inet_icmp", 199},
{"socketpair$inet_icmp_raw", 199},
@ -7793,6 +7808,7 @@ const call_t syscalls[] = {
{"socketpair$inet_smc", 199},
{"socketpair$inet_tcp", 199},
{"socketpair$inet_udp", 199},
{"socketpair$inet_udplite", 199},
{"socketpair$ipx", 199},
{"socketpair$packet", 199},
{"socketpair$unix", 199},
@ -7935,11 +7951,11 @@ const call_t syscalls[] = {
#if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || 0
#define GOARCH "ppc64le"
#define SYZ_REVISION "3ee087a60ac3de56b9db957dec9f999e93062c3f"
#define SYZ_REVISION "e0d23caf525ff9f06001b9586ae733b13ba454da"
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
#define SYZ_SYSCALL_COUNT 1830
#define SYZ_SYSCALL_COUNT 1834
const call_t syscalls[] = {
{"accept", 330},
{"accept$alg", 330},
@ -9582,6 +9598,7 @@ const call_t syscalls[] = {
{"socket$inet6_sctp", 326},
{"socket$inet6_tcp", 326},
{"socket$inet6_udp", 326},
{"socket$inet6_udplite", 326},
{"socket$inet_dccp", 326},
{"socket$inet_icmp", 326},
{"socket$inet_icmp_raw", 326},
@ -9589,6 +9606,7 @@ const call_t syscalls[] = {
{"socket$inet_smc", 326},
{"socket$inet_tcp", 326},
{"socket$inet_udp", 326},
{"socket$inet_udplite", 326},
{"socket$ipx", 326},
{"socket$kcm", 326},
{"socket$key", 326},
@ -9618,6 +9636,7 @@ const call_t syscalls[] = {
{"socketpair$inet6_sctp", 333},
{"socketpair$inet6_tcp", 333},
{"socketpair$inet6_udp", 333},
{"socketpair$inet6_udplite", 333},
{"socketpair$inet_dccp", 333},
{"socketpair$inet_icmp", 333},
{"socketpair$inet_icmp_raw", 333},
@ -9625,6 +9644,7 @@ const call_t syscalls[] = {
{"socketpair$inet_smc", 333},
{"socketpair$inet_tcp", 333},
{"socketpair$inet_udp", 333},
{"socketpair$inet_udplite", 333},
{"socketpair$ipx", 333},
{"socketpair$packet", 333},
{"socketpair$unix", 333},

View File

@ -21151,7 +21151,7 @@ var syscalls_386 = []*Syscall{
{NR: 365, Name: "getsockopt$inet6_udp_int", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -21900,7 +21900,7 @@ var syscalls_386 = []*Syscall{
{NR: 365, Name: "getsockopt$inet_udp_int", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -28358,7 +28358,7 @@ var syscalls_386 = []*Syscall{
{NR: 366, Name: "setsockopt$inet6_udp_int", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 4}}, Buf: "optval"},
}},
@ -29170,7 +29170,7 @@ var syscalls_386 = []*Syscall{
{NR: 366, Name: "setsockopt$inet_udp_int", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 4}}, Buf: "optval"},
}},
@ -29554,6 +29554,11 @@ var syscalls_386 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 359, Name: "socket$inet6_udplite", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 10},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 136},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 359, Name: "socket$inet_dccp", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 6},
@ -29589,6 +29594,11 @@ var syscalls_386 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 359, Name: "socket$inet_udplite", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 136},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 359, Name: "socket$ipx", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 4},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
@ -29744,6 +29754,12 @@ var syscalls_386 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "udp6_pair", Dir: 1}}},
}},
{NR: 360, Name: "socketpair$inet6_udplite", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 10},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 136},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "udp6_pair", Dir: 1}}},
}},
{NR: 360, Name: "socketpair$inet_dccp", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 6},
@ -29786,6 +29802,12 @@ var syscalls_386 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "udp_pair", Dir: 1}}},
}},
{NR: 360, Name: "socketpair$inet_udplite", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 136},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "udp_pair", Dir: 1}}},
}},
{NR: 360, Name: "socketpair$ipx", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 4},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
@ -34963,6 +34985,8 @@ var consts_386 = []ConstValue{
{Name: "TX_RESET_MULTI_IDX", Value: 512},
{Name: "TX_SEND", Value: 4},
{Name: "TX_SETUP", Value: 1},
{Name: "UDPLITE_RECV_CSCOV", Value: 11},
{Name: "UDPLITE_SEND_CSCOV", Value: 10},
{Name: "UDP_CORK", Value: 1},
{Name: "UDP_ENCAP", Value: 100},
{Name: "UDP_ENCAP_ESPINUDP", Value: 2},
@ -34972,6 +34996,7 @@ var consts_386 = []ConstValue{
{Name: "UDP_ENCAP_L2TPINUDP", Value: 3},
{Name: "UDP_NO_CHECK6_RX", Value: 102},
{Name: "UDP_NO_CHECK6_TX", Value: 101},
{Name: "UDP_SEGMENT", Value: 103},
{Name: "UDP_V4_FLOW", Value: 2},
{Name: "UDP_V6_FLOW", Value: 6},
{Name: "UFFDIO_API", Value: 3222841919},
@ -36645,4 +36670,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_386 = "4277a454526c67cd782af4f21917c21a4e6b8b6f"
const revision_386 = "eda3de1125f0e93ef7b53a4612abbf97269305da"

View File

@ -21593,7 +21593,7 @@ var syscalls_amd64 = []*Syscall{
{NR: 55, Name: "getsockopt$inet6_udp_int", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -22342,7 +22342,7 @@ var syscalls_amd64 = []*Syscall{
{NR: 55, Name: "getsockopt$inet_udp_int", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -28962,7 +28962,7 @@ var syscalls_amd64 = []*Syscall{
{NR: 54, Name: "setsockopt$inet6_udp_int", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"},
}},
@ -29774,7 +29774,7 @@ var syscalls_amd64 = []*Syscall{
{NR: 54, Name: "setsockopt$inet_udp_int", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"},
}},
@ -30215,6 +30215,11 @@ var syscalls_amd64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 41, Name: "socket$inet6_udplite", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 10},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 41, Name: "socket$inet_dccp", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 6},
@ -30250,6 +30255,11 @@ var syscalls_amd64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 41, Name: "socket$inet_udplite", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 41, Name: "socket$ipx", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 4},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
@ -30405,6 +30415,12 @@ var syscalls_amd64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp6_pair", Dir: 1}}},
}},
{NR: 53, Name: "socketpair$inet6_udplite", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 10},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp6_pair", Dir: 1}}},
}},
{NR: 53, Name: "socketpair$inet_dccp", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 6},
@ -30447,6 +30463,12 @@ var syscalls_amd64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp_pair", Dir: 1}}},
}},
{NR: 53, Name: "socketpair$inet_udplite", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp_pair", Dir: 1}}},
}},
{NR: 53, Name: "socketpair$ipx", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 4},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
@ -35638,6 +35660,8 @@ var consts_amd64 = []ConstValue{
{Name: "TX_RESET_MULTI_IDX", Value: 512},
{Name: "TX_SEND", Value: 4},
{Name: "TX_SETUP", Value: 1},
{Name: "UDPLITE_RECV_CSCOV", Value: 11},
{Name: "UDPLITE_SEND_CSCOV", Value: 10},
{Name: "UDP_CORK", Value: 1},
{Name: "UDP_ENCAP", Value: 100},
{Name: "UDP_ENCAP_ESPINUDP", Value: 2},
@ -35647,6 +35671,7 @@ var consts_amd64 = []ConstValue{
{Name: "UDP_ENCAP_L2TPINUDP", Value: 3},
{Name: "UDP_NO_CHECK6_RX", Value: 102},
{Name: "UDP_NO_CHECK6_TX", Value: 101},
{Name: "UDP_SEGMENT", Value: 103},
{Name: "UDP_V4_FLOW", Value: 2},
{Name: "UDP_V6_FLOW", Value: 6},
{Name: "UFFDIO_API", Value: 3222841919},
@ -37331,4 +37356,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_amd64 = "ea5d0dfbc1565cb7d0be88b4a71f83337d7767c6"
const revision_amd64 = "272b01a3b16d0c410493224a23f0e9513c21aad5"

View File

@ -21034,7 +21034,7 @@ var syscalls_arm = []*Syscall{
{NR: 295, Name: "getsockopt$inet6_udp_int", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -21783,7 +21783,7 @@ var syscalls_arm = []*Syscall{
{NR: 295, Name: "getsockopt$inet_udp_int", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -28222,7 +28222,7 @@ var syscalls_arm = []*Syscall{
{NR: 294, Name: "setsockopt$inet6_udp_int", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 4}}, Buf: "optval"},
}},
@ -29034,7 +29034,7 @@ var syscalls_arm = []*Syscall{
{NR: 294, Name: "setsockopt$inet_udp_int", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 4}}, Buf: "optval"},
}},
@ -29475,6 +29475,11 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 281, Name: "socket$inet6_udplite", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 10},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 136},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 281, Name: "socket$inet_dccp", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 6},
@ -29510,6 +29515,11 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 281, Name: "socket$inet_udplite", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 136},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 281, Name: "socket$ipx", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 4},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
@ -29665,6 +29675,12 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "udp6_pair", Dir: 1}}},
}},
{NR: 288, Name: "socketpair$inet6_udplite", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 10},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 136},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "udp6_pair", Dir: 1}}},
}},
{NR: 288, Name: "socketpair$inet_dccp", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 6},
@ -29707,6 +29723,12 @@ var syscalls_arm = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "udp_pair", Dir: 1}}},
}},
{NR: 288, Name: "socketpair$inet_udplite", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 4}}, Val: 136},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "udp_pair", Dir: 1}}},
}},
{NR: 288, Name: "socketpair$ipx", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 4}}, Val: 4},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 4}}, Val: 2},
@ -34823,6 +34845,8 @@ var consts_arm = []ConstValue{
{Name: "TX_RESET_MULTI_IDX", Value: 512},
{Name: "TX_SEND", Value: 4},
{Name: "TX_SETUP", Value: 1},
{Name: "UDPLITE_RECV_CSCOV", Value: 11},
{Name: "UDPLITE_SEND_CSCOV", Value: 10},
{Name: "UDP_CORK", Value: 1},
{Name: "UDP_ENCAP", Value: 100},
{Name: "UDP_ENCAP_ESPINUDP", Value: 2},
@ -34832,6 +34856,7 @@ var consts_arm = []ConstValue{
{Name: "UDP_ENCAP_L2TPINUDP", Value: 3},
{Name: "UDP_NO_CHECK6_RX", Value: 102},
{Name: "UDP_NO_CHECK6_TX", Value: 101},
{Name: "UDP_SEGMENT", Value: 103},
{Name: "UDP_V4_FLOW", Value: 2},
{Name: "UDP_V6_FLOW", Value: 6},
{Name: "UFFDIO_API", Value: 3222841919},
@ -36503,4 +36528,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_arm = "351f31a1a25f912453a202d9a5877ed79cf0417f"
const revision_arm = "b13a1e650be47cd4a9cc00ddb999fdfd4382e3fa"

View File

@ -21321,7 +21321,7 @@ var syscalls_arm64 = []*Syscall{
{NR: 209, Name: "getsockopt$inet6_udp_int", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -22070,7 +22070,7 @@ var syscalls_arm64 = []*Syscall{
{NR: 209, Name: "getsockopt$inet_udp_int", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -28478,7 +28478,7 @@ var syscalls_arm64 = []*Syscall{
{NR: 208, Name: "setsockopt$inet6_udp_int", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"},
}},
@ -29290,7 +29290,7 @@ var syscalls_arm64 = []*Syscall{
{NR: 208, Name: "setsockopt$inet_udp_int", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"},
}},
@ -29726,6 +29726,11 @@ var syscalls_arm64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 198, Name: "socket$inet6_udplite", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 10},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 198, Name: "socket$inet_dccp", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 6},
@ -29761,6 +29766,11 @@ var syscalls_arm64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 198, Name: "socket$inet_udplite", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 198, Name: "socket$ipx", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 4},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
@ -29916,6 +29926,12 @@ var syscalls_arm64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp6_pair", Dir: 1}}},
}},
{NR: 199, Name: "socketpair$inet6_udplite", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 10},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp6_pair", Dir: 1}}},
}},
{NR: 199, Name: "socketpair$inet_dccp", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 6},
@ -29958,6 +29974,12 @@ var syscalls_arm64 = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp_pair", Dir: 1}}},
}},
{NR: 199, Name: "socketpair$inet_udplite", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp_pair", Dir: 1}}},
}},
{NR: 199, Name: "socketpair$ipx", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 4},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
@ -35065,6 +35087,8 @@ var consts_arm64 = []ConstValue{
{Name: "TX_RESET_MULTI_IDX", Value: 512},
{Name: "TX_SEND", Value: 4},
{Name: "TX_SETUP", Value: 1},
{Name: "UDPLITE_RECV_CSCOV", Value: 11},
{Name: "UDPLITE_SEND_CSCOV", Value: 10},
{Name: "UDP_CORK", Value: 1},
{Name: "UDP_ENCAP", Value: 100},
{Name: "UDP_ENCAP_ESPINUDP", Value: 2},
@ -35074,6 +35098,7 @@ var consts_arm64 = []ConstValue{
{Name: "UDP_ENCAP_L2TPINUDP", Value: 3},
{Name: "UDP_NO_CHECK6_RX", Value: 102},
{Name: "UDP_NO_CHECK6_TX", Value: 101},
{Name: "UDP_SEGMENT", Value: 103},
{Name: "UDP_V4_FLOW", Value: 2},
{Name: "UDP_V6_FLOW", Value: 6},
{Name: "UFFDIO_API", Value: 3222841919},
@ -36717,4 +36742,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_arm64 = "a572239f5db6b2e348768b5c0bc0f50bc156090c"
const revision_arm64 = "8f35ff6320416fc8d2dd77a773e6331b63cb6c8e"

View File

@ -20419,7 +20419,7 @@ var syscalls_ppc64le = []*Syscall{
{NR: 340, Name: "getsockopt$inet6_udp_int", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -21168,7 +21168,7 @@ var syscalls_ppc64le = []*Syscall{
{NR: 340, Name: "getsockopt$inet_udp_int", CallName: "getsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4, ArgDir: 1}}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
}},
@ -26934,7 +26934,7 @@ var syscalls_ppc64le = []*Syscall{
{NR: 339, Name: "setsockopt$inet6_udp_int", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"},
}},
@ -27746,7 +27746,7 @@ var syscalls_ppc64le = []*Syscall{
{NR: 339, Name: "setsockopt$inet_udp_int", CallName: "setsockopt", Args: []Type{
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "fd", TypeSize: 4}},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 17},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 100, 101, 102}},
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "udp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 101, 102, 103, 10, 11}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", TypeSize: 4}}}},
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "optlen", TypeSize: 8}}, Buf: "optval"},
}},
@ -28130,6 +28130,11 @@ var syscalls_ppc64le = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 326, Name: "socket$inet6_udplite", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 10},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp6", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 326, Name: "socket$inet_dccp", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 6},
@ -28165,6 +28170,11 @@ var syscalls_ppc64le = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 326, Name: "socket$inet_udplite", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
}, Ret: &ResourceType{TypeCommon: TypeCommon{TypeName: "sock_udp", FldName: "ret", TypeSize: 4, ArgDir: 1}}},
{NR: 326, Name: "socket$ipx", CallName: "socket", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 4},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
@ -28320,6 +28330,12 @@ var syscalls_ppc64le = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp6_pair", Dir: 1}}},
}},
{NR: 333, Name: "socketpair$inet6_udplite", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 10},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp6_pair", Dir: 1}}},
}},
{NR: 333, Name: "socketpair$inet_dccp", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 6},
@ -28362,6 +28378,12 @@ var syscalls_ppc64le = []*Syscall{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp_pair", Dir: 1}}},
}},
{NR: 333, Name: "socketpair$inet_udplite", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "proto", TypeSize: 8}}, Val: 136},
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "fds", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "udp_pair", Dir: 1}}},
}},
{NR: 333, Name: "socketpair$ipx", CallName: "socketpair", Args: []Type{
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "domain", TypeSize: 8}}, Val: 4},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "type", TypeSize: 8}}, Val: 2},
@ -33386,6 +33408,8 @@ var consts_ppc64le = []ConstValue{
{Name: "TX_RESET_MULTI_IDX", Value: 512},
{Name: "TX_SEND", Value: 4},
{Name: "TX_SETUP", Value: 1},
{Name: "UDPLITE_RECV_CSCOV", Value: 11},
{Name: "UDPLITE_SEND_CSCOV", Value: 10},
{Name: "UDP_CORK", Value: 1},
{Name: "UDP_ENCAP", Value: 100},
{Name: "UDP_ENCAP_ESPINUDP", Value: 2},
@ -33395,6 +33419,7 @@ var consts_ppc64le = []ConstValue{
{Name: "UDP_ENCAP_L2TPINUDP", Value: 3},
{Name: "UDP_NO_CHECK6_RX", Value: 102},
{Name: "UDP_NO_CHECK6_TX", Value: 101},
{Name: "UDP_SEGMENT", Value: 103},
{Name: "UDP_V4_FLOW", Value: 2},
{Name: "UDP_V6_FLOW", Value: 6},
{Name: "UFFDIO_API", Value: 3222841919},
@ -34118,4 +34143,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_ppc64le = "3ee087a60ac3de56b9db957dec9f999e93062c3f"
const revision_ppc64le = "e0d23caf525ff9f06001b9586ae733b13ba454da"

View File

@ -15,7 +15,9 @@ udp_pair {
}
socket$inet_udp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[0]) sock_udp
socket$inet_udplite(domain const[AF_INET], type const[SOCK_DGRAM], proto const[IPPROTO_UDPLITE]) sock_udp
socketpair$inet_udp(domain const[AF_INET], type const[SOCK_DGRAM], proto const[0], fds ptr[out, udp_pair])
socketpair$inet_udplite(domain const[AF_INET], type const[SOCK_DGRAM], proto const[IPPROTO_UDPLITE], fds ptr[out, udp_pair])
resource sock_udp6[sock_in6]
@ -25,11 +27,13 @@ udp6_pair {
}
socket$inet6_udp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[0]) sock_udp6
socket$inet6_udplite(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[IPPROTO_UDPLITE]) sock_udp6
socketpair$inet6_udp(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[0], fds ptr[out, udp6_pair])
socketpair$inet6_udplite(domain const[AF_INET6], type const[SOCK_DGRAM], proto const[IPPROTO_UDPLITE], fds ptr[out, udp6_pair])
# Generic UDP socket options
udp_option_types_int = UDP_CORK, UDP_ENCAP, UDP_NO_CHECK6_TX, UDP_NO_CHECK6_RX
udp_option_types_int = UDP_CORK, UDP_NO_CHECK6_TX, UDP_NO_CHECK6_RX, UDP_SEGMENT, UDPLITE_SEND_CSCOV, UDPLITE_RECV_CSCOV
getsockopt$inet_udp_int(fd sock_udp, level const[IPPROTO_UDP], optname flags[udp_option_types_int], optval ptr[out, int32], optlen ptr[inout, len[optval, int32]])
setsockopt$inet_udp_int(fd sock_udp, level const[IPPROTO_UDP], optname flags[udp_option_types_int], optval ptr[in, int32], optlen len[optval])
@ -43,8 +47,6 @@ udp_encap_option_values = UDP_ENCAP_ESPINUDP_NON_IKE, UDP_ENCAP_ESPINUDP, UDP_EN
setsockopt$inet_udp_encap(fd sock_udp, level const[IPPROTO_UDP], optname const[UDP_ENCAP], optval ptr[in, flags[udp_encap_option_values, int32]], optlen len[optval])
setsockopt$inet6_udp_encap(fd sock_udp6, level const[IPPROTO_UDP], optname const[UDP_ENCAP], optval ptr[in, flags[udp_encap_option_values, int32]], optlen len[optval])
# TODO: UDPLITE_SEND_CSCOV, UDPLITE_RECV_CSCOV
# UDP ioctls
ioctl$sock_inet_udp_SIOCINQ(fd sock_udp, cmd const[SIOCINQ], arg ptr[out, int32])
@ -52,3 +54,6 @@ ioctl$sock_inet6_udp_SIOCINQ(fd sock_udp6, cmd const[SIOCINQ], arg ptr[out, int3
ioctl$sock_inet_udp_SIOCOUTQ(fd sock_udp, cmd const[SIOCOUTQ], arg ptr[out, int32])
ioctl$sock_inet6_udp_SIOCOUTQ(fd sock_udp6, cmd const[SIOCOUTQ], arg ptr[out, int32])
define UDPLITE_SEND_CSCOV 10
define UDPLITE_RECV_CSCOV 11

View File

@ -2,9 +2,12 @@
AF_INET = 2
AF_INET6 = 10
IPPROTO_UDP = 17
IPPROTO_UDPLITE = 136
SIOCINQ = 21531
SIOCOUTQ = 21521
SOCK_DGRAM = 2
UDPLITE_RECV_CSCOV = 11
UDPLITE_SEND_CSCOV = 10
UDP_CORK = 1
UDP_ENCAP = 100
UDP_ENCAP_ESPINUDP = 2
@ -14,6 +17,7 @@ UDP_ENCAP_GTP1U = 5
UDP_ENCAP_L2TPINUDP = 3
UDP_NO_CHECK6_RX = 102
UDP_NO_CHECK6_TX = 101
UDP_SEGMENT = 103
__NR_getsockopt = 365
__NR_ioctl = 54
__NR_setsockopt = 366

View File

@ -2,9 +2,12 @@
AF_INET = 2
AF_INET6 = 10
IPPROTO_UDP = 17
IPPROTO_UDPLITE = 136
SIOCINQ = 21531
SIOCOUTQ = 21521
SOCK_DGRAM = 2
UDPLITE_RECV_CSCOV = 11
UDPLITE_SEND_CSCOV = 10
UDP_CORK = 1
UDP_ENCAP = 100
UDP_ENCAP_ESPINUDP = 2
@ -14,6 +17,7 @@ UDP_ENCAP_GTP1U = 5
UDP_ENCAP_L2TPINUDP = 3
UDP_NO_CHECK6_RX = 102
UDP_NO_CHECK6_TX = 101
UDP_SEGMENT = 103
__NR_getsockopt = 55
__NR_ioctl = 16
__NR_setsockopt = 54

View File

@ -2,9 +2,12 @@
AF_INET = 2
AF_INET6 = 10
IPPROTO_UDP = 17
IPPROTO_UDPLITE = 136
SIOCINQ = 21531
SIOCOUTQ = 21521
SOCK_DGRAM = 2
UDPLITE_RECV_CSCOV = 11
UDPLITE_SEND_CSCOV = 10
UDP_CORK = 1
UDP_ENCAP = 100
UDP_ENCAP_ESPINUDP = 2
@ -14,6 +17,7 @@ UDP_ENCAP_GTP1U = 5
UDP_ENCAP_L2TPINUDP = 3
UDP_NO_CHECK6_RX = 102
UDP_NO_CHECK6_TX = 101
UDP_SEGMENT = 103
__NR_getsockopt = 295
__NR_ioctl = 54
__NR_setsockopt = 294

View File

@ -2,9 +2,12 @@
AF_INET = 2
AF_INET6 = 10
IPPROTO_UDP = 17
IPPROTO_UDPLITE = 136
SIOCINQ = 21531
SIOCOUTQ = 21521
SOCK_DGRAM = 2
UDPLITE_RECV_CSCOV = 11
UDPLITE_SEND_CSCOV = 10
UDP_CORK = 1
UDP_ENCAP = 100
UDP_ENCAP_ESPINUDP = 2
@ -14,6 +17,7 @@ UDP_ENCAP_GTP1U = 5
UDP_ENCAP_L2TPINUDP = 3
UDP_NO_CHECK6_RX = 102
UDP_NO_CHECK6_TX = 101
UDP_SEGMENT = 103
__NR_getsockopt = 209
__NR_ioctl = 29
__NR_setsockopt = 208

View File

@ -2,9 +2,12 @@
AF_INET = 2
AF_INET6 = 10
IPPROTO_UDP = 17
IPPROTO_UDPLITE = 136
SIOCINQ = 1074030207
SIOCOUTQ = 1074033779
SOCK_DGRAM = 2
UDPLITE_RECV_CSCOV = 11
UDPLITE_SEND_CSCOV = 10
UDP_CORK = 1
UDP_ENCAP = 100
UDP_ENCAP_ESPINUDP = 2
@ -14,6 +17,7 @@ UDP_ENCAP_GTP1U = 5
UDP_ENCAP_L2TPINUDP = 3
UDP_NO_CHECK6_RX = 102
UDP_NO_CHECK6_TX = 101
UDP_SEGMENT = 103
__NR_getsockopt = 340
__NR_ioctl = 54
__NR_setsockopt = 339