mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-24 03:49:45 +00:00
sys/linux: add TCP_ZEROCOPY_RECEIVE and TCP_INQ
This commit is contained in:
parent
09ca59bff7
commit
721401058c
@ -2,11 +2,11 @@
|
||||
|
||||
#if defined(__i386__) || 0
|
||||
#define GOARCH "386"
|
||||
#define SYZ_REVISION "d46aca292f246c1637fff96c494fefa3a5e37013"
|
||||
#define SYZ_REVISION "4277a454526c67cd782af4f21917c21a4e6b8b6f"
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 1959
|
||||
#define SYZ_SYSCALL_COUNT 1961
|
||||
const call_t syscalls[] = {
|
||||
{"accept4", 364},
|
||||
{"accept4$alg", 364},
|
||||
@ -261,6 +261,7 @@ const call_t syscalls[] = {
|
||||
{"getsockopt$inet6_mtu", 365},
|
||||
{"getsockopt$inet6_opts", 365},
|
||||
{"getsockopt$inet6_tcp_TCP_REPAIR_WINDOW", 365},
|
||||
{"getsockopt$inet6_tcp_TCP_ZEROCOPY_RECEIVE", 365},
|
||||
{"getsockopt$inet6_tcp_buf", 365},
|
||||
{"getsockopt$inet6_tcp_int", 365},
|
||||
{"getsockopt$inet6_udp_int", 365},
|
||||
@ -367,6 +368,7 @@ const call_t syscalls[] = {
|
||||
{"getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER", 365},
|
||||
{"getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER_VALUE", 365},
|
||||
{"getsockopt$inet_tcp_TCP_REPAIR_WINDOW", 365},
|
||||
{"getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE", 365},
|
||||
{"getsockopt$inet_tcp_buf", 365},
|
||||
{"getsockopt$inet_tcp_int", 365},
|
||||
{"getsockopt$inet_udp_int", 365},
|
||||
@ -1973,11 +1975,11 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__x86_64__) || 0
|
||||
#define GOARCH "amd64"
|
||||
#define SYZ_REVISION "f037383b0a19c25306abdb73461ae4854a0b4964"
|
||||
#define SYZ_REVISION "ea5d0dfbc1565cb7d0be88b4a71f83337d7767c6"
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 2011
|
||||
#define SYZ_SYSCALL_COUNT 2013
|
||||
const call_t syscalls[] = {
|
||||
{"accept", 43},
|
||||
{"accept$alg", 43},
|
||||
@ -2242,6 +2244,7 @@ const call_t syscalls[] = {
|
||||
{"getsockopt$inet6_mtu", 55},
|
||||
{"getsockopt$inet6_opts", 55},
|
||||
{"getsockopt$inet6_tcp_TCP_REPAIR_WINDOW", 55},
|
||||
{"getsockopt$inet6_tcp_TCP_ZEROCOPY_RECEIVE", 55},
|
||||
{"getsockopt$inet6_tcp_buf", 55},
|
||||
{"getsockopt$inet6_tcp_int", 55},
|
||||
{"getsockopt$inet6_udp_int", 55},
|
||||
@ -2348,6 +2351,7 @@ const call_t syscalls[] = {
|
||||
{"getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER", 55},
|
||||
{"getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER_VALUE", 55},
|
||||
{"getsockopt$inet_tcp_TCP_REPAIR_WINDOW", 55},
|
||||
{"getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE", 55},
|
||||
{"getsockopt$inet_tcp_buf", 55},
|
||||
{"getsockopt$inet_tcp_int", 55},
|
||||
{"getsockopt$inet_udp_int", 55},
|
||||
@ -3996,11 +4000,11 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__arm__) || 0
|
||||
#define GOARCH "arm"
|
||||
#define SYZ_REVISION "e9f3fb0ca9c9c5fb1ee8a8cdd20492a1128e200a"
|
||||
#define SYZ_REVISION "351f31a1a25f912453a202d9a5877ed79cf0417f"
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 1967
|
||||
#define SYZ_SYSCALL_COUNT 1969
|
||||
const call_t syscalls[] = {
|
||||
{"accept", 285},
|
||||
{"accept$alg", 285},
|
||||
@ -4260,6 +4264,7 @@ const call_t syscalls[] = {
|
||||
{"getsockopt$inet6_mtu", 295},
|
||||
{"getsockopt$inet6_opts", 295},
|
||||
{"getsockopt$inet6_tcp_TCP_REPAIR_WINDOW", 295},
|
||||
{"getsockopt$inet6_tcp_TCP_ZEROCOPY_RECEIVE", 295},
|
||||
{"getsockopt$inet6_tcp_buf", 295},
|
||||
{"getsockopt$inet6_tcp_int", 295},
|
||||
{"getsockopt$inet6_udp_int", 295},
|
||||
@ -4366,6 +4371,7 @@ const call_t syscalls[] = {
|
||||
{"getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER", 295},
|
||||
{"getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER_VALUE", 295},
|
||||
{"getsockopt$inet_tcp_TCP_REPAIR_WINDOW", 295},
|
||||
{"getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE", 295},
|
||||
{"getsockopt$inet_tcp_buf", 295},
|
||||
{"getsockopt$inet_tcp_int", 295},
|
||||
{"getsockopt$inet_udp_int", 295},
|
||||
@ -5975,11 +5981,11 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__aarch64__) || 0
|
||||
#define GOARCH "arm64"
|
||||
#define SYZ_REVISION "3998017f34c65afc1232a273299d7e769cc740b4"
|
||||
#define SYZ_REVISION "a572239f5db6b2e348768b5c0bc0f50bc156090c"
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 1940
|
||||
#define SYZ_SYSCALL_COUNT 1942
|
||||
const call_t syscalls[] = {
|
||||
{"accept", 202},
|
||||
{"accept$alg", 202},
|
||||
@ -6231,6 +6237,7 @@ const call_t syscalls[] = {
|
||||
{"getsockopt$inet6_mtu", 209},
|
||||
{"getsockopt$inet6_opts", 209},
|
||||
{"getsockopt$inet6_tcp_TCP_REPAIR_WINDOW", 209},
|
||||
{"getsockopt$inet6_tcp_TCP_ZEROCOPY_RECEIVE", 209},
|
||||
{"getsockopt$inet6_tcp_buf", 209},
|
||||
{"getsockopt$inet6_tcp_int", 209},
|
||||
{"getsockopt$inet6_udp_int", 209},
|
||||
@ -6337,6 +6344,7 @@ const call_t syscalls[] = {
|
||||
{"getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER", 209},
|
||||
{"getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER_VALUE", 209},
|
||||
{"getsockopt$inet_tcp_TCP_REPAIR_WINDOW", 209},
|
||||
{"getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE", 209},
|
||||
{"getsockopt$inet_tcp_buf", 209},
|
||||
{"getsockopt$inet_tcp_int", 209},
|
||||
{"getsockopt$inet_udp_int", 209},
|
||||
@ -7927,11 +7935,11 @@ const call_t syscalls[] = {
|
||||
|
||||
#if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || 0
|
||||
#define GOARCH "ppc64le"
|
||||
#define SYZ_REVISION "6c0b72a4509a302ee8c10faaff410c64128c3410"
|
||||
#define SYZ_REVISION "3ee087a60ac3de56b9db957dec9f999e93062c3f"
|
||||
#define SYZ_PAGE_SIZE 4096
|
||||
#define SYZ_NUM_PAGES 4096
|
||||
#define SYZ_DATA_OFFSET 536870912
|
||||
#define SYZ_SYSCALL_COUNT 1828
|
||||
#define SYZ_SYSCALL_COUNT 1830
|
||||
const call_t syscalls[] = {
|
||||
{"accept", 330},
|
||||
{"accept$alg", 330},
|
||||
@ -8194,6 +8202,7 @@ const call_t syscalls[] = {
|
||||
{"getsockopt$inet6_mtu", 340},
|
||||
{"getsockopt$inet6_opts", 340},
|
||||
{"getsockopt$inet6_tcp_TCP_REPAIR_WINDOW", 340},
|
||||
{"getsockopt$inet6_tcp_TCP_ZEROCOPY_RECEIVE", 340},
|
||||
{"getsockopt$inet6_tcp_buf", 340},
|
||||
{"getsockopt$inet6_tcp_int", 340},
|
||||
{"getsockopt$inet6_udp_int", 340},
|
||||
@ -8300,6 +8309,7 @@ const call_t syscalls[] = {
|
||||
{"getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER", 340},
|
||||
{"getsockopt$inet_sctp_SCTP_STREAM_SCHEDULER_VALUE", 340},
|
||||
{"getsockopt$inet_tcp_TCP_REPAIR_WINDOW", 340},
|
||||
{"getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE", 340},
|
||||
{"getsockopt$inet_tcp_buf", 340},
|
||||
{"getsockopt$inet_tcp_int", 340},
|
||||
{"getsockopt$inet_udp_int", 340},
|
||||
|
@ -16184,6 +16184,11 @@ var structDescs_386 = []*KeyedStruct{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Buf: "parent"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "tcp_zerocopy_receive"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcp_zerocopy_receive", TypeSize: 12}, Fields: []Type{
|
||||
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "address", TypeSize: 4}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 4}}, Buf: "address"},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "recv_skip_hint", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "te1_settings"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "te1_settings", TypeSize: 16}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}},
|
||||
@ -21122,6 +21127,13 @@ var syscalls_386 = []*Syscall{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tcp_repair_window", Dir: 1}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 365, Name: "getsockopt$inet6_tcp_TCP_ZEROCOPY_RECEIVE", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 35},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tcp_zerocopy_receive"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 365, Name: "getsockopt$inet6_tcp_buf", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
@ -21132,7 +21144,7 @@ var syscalls_386 = []*Syscall{
|
||||
{NR: 365, Name: "getsockopt$inet6_tcp_int", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"}},
|
||||
}},
|
||||
@ -21864,6 +21876,13 @@ var syscalls_386 = []*Syscall{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tcp_repair_window", Dir: 1}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 365, Name: "getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 35},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tcp_zerocopy_receive"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 365, Name: "getsockopt$inet_tcp_buf", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
@ -21874,7 +21893,7 @@ var syscalls_386 = []*Syscall{
|
||||
{NR: 365, Name: "getsockopt$inet_tcp_int", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"}},
|
||||
}},
|
||||
@ -28325,7 +28344,7 @@ var syscalls_386 = []*Syscall{
|
||||
{NR: 366, Name: "setsockopt$inet6_tcp_int", CallName: "setsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"},
|
||||
}},
|
||||
@ -29137,7 +29156,7 @@ var syscalls_386 = []*Syscall{
|
||||
{NR: 366, Name: "setsockopt$inet_tcp_int", CallName: "setsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"},
|
||||
}},
|
||||
@ -34798,6 +34817,7 @@ var consts_386 = []ConstValue{
|
||||
{Name: "TCP_FASTOPEN_KEY_LENGTH", Value: 16},
|
||||
{Name: "TCP_FASTOPEN_NO_COOKIE", Value: 34},
|
||||
{Name: "TCP_INFO", Value: 11},
|
||||
{Name: "TCP_INQ", Value: 36},
|
||||
{Name: "TCP_KEEPCNT", Value: 6},
|
||||
{Name: "TCP_KEEPIDLE", Value: 4},
|
||||
{Name: "TCP_KEEPINTVL", Value: 5},
|
||||
@ -34824,6 +34844,7 @@ var consts_386 = []ConstValue{
|
||||
{Name: "TCP_V4_FLOW", Value: 1},
|
||||
{Name: "TCP_V6_FLOW", Value: 5},
|
||||
{Name: "TCP_WINDOW_CLAMP", Value: 10},
|
||||
{Name: "TCP_ZEROCOPY_RECEIVE", Value: 35},
|
||||
{Name: "TCSBRK", Value: 21513},
|
||||
{Name: "TCSBRKP", Value: 21541},
|
||||
{Name: "TCSETA", Value: 21510},
|
||||
@ -36624,4 +36645,4 @@ var consts_386 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_386 = "d46aca292f246c1637fff96c494fefa3a5e37013"
|
||||
const revision_386 = "4277a454526c67cd782af4f21917c21a4e6b8b6f"
|
||||
|
@ -16452,6 +16452,11 @@ var structDescs_amd64 = []*KeyedStruct{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Buf: "parent"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "tcp_zerocopy_receive"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcp_zerocopy_receive", TypeSize: 16}, Fields: []Type{
|
||||
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "address", TypeSize: 8}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 4}}, Buf: "address"},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "recv_skip_hint", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "te1_settings"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "te1_settings", TypeSize: 16}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}},
|
||||
@ -21564,6 +21569,13 @@ var syscalls_amd64 = []*Syscall{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_repair_window", Dir: 1}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 55, Name: "getsockopt$inet6_tcp_TCP_ZEROCOPY_RECEIVE", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 35},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_zerocopy_receive"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 55, Name: "getsockopt$inet6_tcp_buf", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
@ -21574,7 +21586,7 @@ var syscalls_amd64 = []*Syscall{
|
||||
{NR: 55, Name: "getsockopt$inet6_tcp_int", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"}},
|
||||
}},
|
||||
@ -22306,6 +22318,13 @@ var syscalls_amd64 = []*Syscall{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_repair_window", Dir: 1}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 55, Name: "getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 35},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_zerocopy_receive"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 55, Name: "getsockopt$inet_tcp_buf", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
@ -22316,7 +22335,7 @@ var syscalls_amd64 = []*Syscall{
|
||||
{NR: 55, Name: "getsockopt$inet_tcp_int", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"}},
|
||||
}},
|
||||
@ -28929,7 +28948,7 @@ var syscalls_amd64 = []*Syscall{
|
||||
{NR: 54, Name: "setsockopt$inet6_tcp_int", CallName: "setsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"},
|
||||
}},
|
||||
@ -29741,7 +29760,7 @@ var syscalls_amd64 = []*Syscall{
|
||||
{NR: 54, Name: "setsockopt$inet_tcp_int", CallName: "setsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"},
|
||||
}},
|
||||
@ -35459,6 +35478,7 @@ var consts_amd64 = []ConstValue{
|
||||
{Name: "TCP_FASTOPEN_KEY_LENGTH", Value: 16},
|
||||
{Name: "TCP_FASTOPEN_NO_COOKIE", Value: 34},
|
||||
{Name: "TCP_INFO", Value: 11},
|
||||
{Name: "TCP_INQ", Value: 36},
|
||||
{Name: "TCP_KEEPCNT", Value: 6},
|
||||
{Name: "TCP_KEEPIDLE", Value: 4},
|
||||
{Name: "TCP_KEEPINTVL", Value: 5},
|
||||
@ -35485,6 +35505,7 @@ var consts_amd64 = []ConstValue{
|
||||
{Name: "TCP_V4_FLOW", Value: 1},
|
||||
{Name: "TCP_V6_FLOW", Value: 5},
|
||||
{Name: "TCP_WINDOW_CLAMP", Value: 10},
|
||||
{Name: "TCP_ZEROCOPY_RECEIVE", Value: 35},
|
||||
{Name: "TCSBRK", Value: 21513},
|
||||
{Name: "TCSBRKP", Value: 21541},
|
||||
{Name: "TCSETA", Value: 21510},
|
||||
@ -37310,4 +37331,4 @@ var consts_amd64 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_amd64 = "f037383b0a19c25306abdb73461ae4854a0b4964"
|
||||
const revision_amd64 = "ea5d0dfbc1565cb7d0be88b4a71f83337d7767c6"
|
||||
|
@ -16053,6 +16053,11 @@ var structDescs_arm = []*KeyedStruct{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Buf: "parent"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "tcp_zerocopy_receive"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcp_zerocopy_receive", TypeSize: 12}, Fields: []Type{
|
||||
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "address", TypeSize: 4}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 4}}, Buf: "address"},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "recv_skip_hint", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "te1_settings"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "te1_settings", TypeSize: 16}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}},
|
||||
@ -21005,6 +21010,13 @@ var syscalls_arm = []*Syscall{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tcp_repair_window", Dir: 1}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 295, Name: "getsockopt$inet6_tcp_TCP_ZEROCOPY_RECEIVE", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 35},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tcp_zerocopy_receive"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 295, Name: "getsockopt$inet6_tcp_buf", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
@ -21015,7 +21027,7 @@ var syscalls_arm = []*Syscall{
|
||||
{NR: 295, Name: "getsockopt$inet6_tcp_int", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"}},
|
||||
}},
|
||||
@ -21747,6 +21759,13 @@ var syscalls_arm = []*Syscall{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tcp_repair_window", Dir: 1}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 295, Name: "getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 4}}, Val: 35},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 4}, Type: &StructType{Key: StructKey{Name: "tcp_zerocopy_receive"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 4}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 295, Name: "getsockopt$inet_tcp_buf", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
@ -21757,7 +21776,7 @@ var syscalls_arm = []*Syscall{
|
||||
{NR: 295, Name: "getsockopt$inet_tcp_int", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"}},
|
||||
}},
|
||||
@ -28189,7 +28208,7 @@ var syscalls_arm = []*Syscall{
|
||||
{NR: 294, Name: "setsockopt$inet6_tcp_int", CallName: "setsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"},
|
||||
}},
|
||||
@ -29001,7 +29020,7 @@ var syscalls_arm = []*Syscall{
|
||||
{NR: 294, Name: "setsockopt$inet_tcp_int", CallName: "setsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 4}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 4}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"},
|
||||
}},
|
||||
@ -34658,6 +34677,7 @@ var consts_arm = []ConstValue{
|
||||
{Name: "TCP_FASTOPEN_KEY_LENGTH", Value: 16},
|
||||
{Name: "TCP_FASTOPEN_NO_COOKIE", Value: 34},
|
||||
{Name: "TCP_INFO", Value: 11},
|
||||
{Name: "TCP_INQ", Value: 36},
|
||||
{Name: "TCP_KEEPCNT", Value: 6},
|
||||
{Name: "TCP_KEEPIDLE", Value: 4},
|
||||
{Name: "TCP_KEEPINTVL", Value: 5},
|
||||
@ -34684,6 +34704,7 @@ var consts_arm = []ConstValue{
|
||||
{Name: "TCP_V4_FLOW", Value: 1},
|
||||
{Name: "TCP_V6_FLOW", Value: 5},
|
||||
{Name: "TCP_WINDOW_CLAMP", Value: 10},
|
||||
{Name: "TCP_ZEROCOPY_RECEIVE", Value: 35},
|
||||
{Name: "TCSBRK", Value: 21513},
|
||||
{Name: "TCSBRKP", Value: 21541},
|
||||
{Name: "TCSETA", Value: 21510},
|
||||
@ -36482,4 +36503,4 @@ var consts_arm = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_arm = "e9f3fb0ca9c9c5fb1ee8a8cdd20492a1128e200a"
|
||||
const revision_arm = "351f31a1a25f912453a202d9a5877ed79cf0417f"
|
||||
|
@ -16257,6 +16257,11 @@ var structDescs_arm64 = []*KeyedStruct{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Buf: "parent"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "tcp_zerocopy_receive"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcp_zerocopy_receive", TypeSize: 16}, Fields: []Type{
|
||||
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "address", TypeSize: 8}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 4}}, Buf: "address"},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "recv_skip_hint", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "te1_settings"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "te1_settings", TypeSize: 16}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}},
|
||||
@ -21292,6 +21297,13 @@ var syscalls_arm64 = []*Syscall{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_repair_window", Dir: 1}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 209, Name: "getsockopt$inet6_tcp_TCP_ZEROCOPY_RECEIVE", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 35},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_zerocopy_receive"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 209, Name: "getsockopt$inet6_tcp_buf", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
@ -21302,7 +21314,7 @@ var syscalls_arm64 = []*Syscall{
|
||||
{NR: 209, Name: "getsockopt$inet6_tcp_int", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"}},
|
||||
}},
|
||||
@ -22034,6 +22046,13 @@ var syscalls_arm64 = []*Syscall{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_repair_window", Dir: 1}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 209, Name: "getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 35},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_zerocopy_receive"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 209, Name: "getsockopt$inet_tcp_buf", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
@ -22044,7 +22063,7 @@ var syscalls_arm64 = []*Syscall{
|
||||
{NR: 209, Name: "getsockopt$inet_tcp_int", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"}},
|
||||
}},
|
||||
@ -28445,7 +28464,7 @@ var syscalls_arm64 = []*Syscall{
|
||||
{NR: 208, Name: "setsockopt$inet6_tcp_int", CallName: "setsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"},
|
||||
}},
|
||||
@ -29257,7 +29276,7 @@ var syscalls_arm64 = []*Syscall{
|
||||
{NR: 208, Name: "setsockopt$inet_tcp_int", CallName: "setsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"},
|
||||
}},
|
||||
@ -34886,6 +34905,7 @@ var consts_arm64 = []ConstValue{
|
||||
{Name: "TCP_FASTOPEN_KEY_LENGTH", Value: 16},
|
||||
{Name: "TCP_FASTOPEN_NO_COOKIE", Value: 34},
|
||||
{Name: "TCP_INFO", Value: 11},
|
||||
{Name: "TCP_INQ", Value: 36},
|
||||
{Name: "TCP_KEEPCNT", Value: 6},
|
||||
{Name: "TCP_KEEPIDLE", Value: 4},
|
||||
{Name: "TCP_KEEPINTVL", Value: 5},
|
||||
@ -34912,6 +34932,7 @@ var consts_arm64 = []ConstValue{
|
||||
{Name: "TCP_V4_FLOW", Value: 1},
|
||||
{Name: "TCP_V6_FLOW", Value: 5},
|
||||
{Name: "TCP_WINDOW_CLAMP", Value: 10},
|
||||
{Name: "TCP_ZEROCOPY_RECEIVE", Value: 35},
|
||||
{Name: "TCSBRK", Value: 21513},
|
||||
{Name: "TCSBRKP", Value: 21541},
|
||||
{Name: "TCSETA", Value: 21510},
|
||||
@ -36696,4 +36717,4 @@ var consts_arm64 = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_arm64 = "3998017f34c65afc1232a273299d7e769cc740b4"
|
||||
const revision_arm64 = "a572239f5db6b2e348768b5c0bc0f50bc156090c"
|
||||
|
@ -16181,6 +16181,11 @@ var structDescs_ppc64le = []*KeyedStruct{
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 1}}, Buf: "parent"},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "shift", TypeSize: 1}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "tcp_zerocopy_receive"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "tcp_zerocopy_receive", TypeSize: 16}, Fields: []Type{
|
||||
&VmaType{TypeCommon: TypeCommon{TypeName: "vma", FldName: "address", TypeSize: 8}},
|
||||
&LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", FldName: "length", TypeSize: 4}}, Buf: "address"},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "recv_skip_hint", TypeSize: 4}}},
|
||||
}}},
|
||||
{Key: StructKey{Name: "te1_settings"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "te1_settings", TypeSize: 16}, Fields: []Type{
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "rate", TypeSize: 4}}},
|
||||
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int32", FldName: "type", TypeSize: 4}}},
|
||||
@ -20390,6 +20395,13 @@ var syscalls_ppc64le = []*Syscall{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_repair_window", Dir: 1}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 340, Name: "getsockopt$inet6_tcp_TCP_ZEROCOPY_RECEIVE", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 35},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_zerocopy_receive"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 340, Name: "getsockopt$inet6_tcp_buf", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
@ -20400,7 +20412,7 @@ var syscalls_ppc64le = []*Syscall{
|
||||
{NR: 340, Name: "getsockopt$inet6_tcp_int", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"}},
|
||||
}},
|
||||
@ -21132,6 +21144,13 @@ var syscalls_ppc64le = []*Syscall{
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_repair_window", Dir: 1}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 340, Name: "getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "optname", TypeSize: 8}}, Val: 35},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optval", TypeSize: 8}, Type: &StructType{Key: StructKey{Name: "tcp_zerocopy_receive"}}},
|
||||
&PtrType{TypeCommon: TypeCommon{TypeName: "ptr", FldName: "optlen", TypeSize: 8}, Type: &LenType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "len", TypeSize: 4, ArgDir: 2}}, Buf: "optval"}},
|
||||
}},
|
||||
{NR: 340, Name: "getsockopt$inet_tcp_buf", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
@ -21142,7 +21161,7 @@ var syscalls_ppc64le = []*Syscall{
|
||||
{NR: 340, Name: "getsockopt$inet_tcp_int", CallName: "getsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"}},
|
||||
}},
|
||||
@ -26901,7 +26920,7 @@ var syscalls_ppc64le = []*Syscall{
|
||||
{NR: 339, Name: "setsockopt$inet6_tcp_int", CallName: "setsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp6", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"},
|
||||
}},
|
||||
@ -27713,7 +27732,7 @@ var syscalls_ppc64le = []*Syscall{
|
||||
{NR: 339, Name: "setsockopt$inet_tcp_int", CallName: "setsockopt", Args: []Type{
|
||||
&ResourceType{TypeCommon: TypeCommon{TypeName: "sock_tcp", FldName: "fd", TypeSize: 4}},
|
||||
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "level", TypeSize: 8}}, Val: 6},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27}},
|
||||
&FlagsType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "tcp_option_types_int", FldName: "optname", TypeSize: 8}}, Vals: []uint64{1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 12, 16, 17, 18, 19, 20, 21, 23, 30, 34, 24, 25, 27, 36}},
|
||||
&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"},
|
||||
}},
|
||||
@ -33229,6 +33248,7 @@ var consts_ppc64le = []ConstValue{
|
||||
{Name: "TCP_FASTOPEN_KEY_LENGTH", Value: 16},
|
||||
{Name: "TCP_FASTOPEN_NO_COOKIE", Value: 34},
|
||||
{Name: "TCP_INFO", Value: 11},
|
||||
{Name: "TCP_INQ", Value: 36},
|
||||
{Name: "TCP_KEEPCNT", Value: 6},
|
||||
{Name: "TCP_KEEPIDLE", Value: 4},
|
||||
{Name: "TCP_KEEPINTVL", Value: 5},
|
||||
@ -33255,6 +33275,7 @@ var consts_ppc64le = []ConstValue{
|
||||
{Name: "TCP_V4_FLOW", Value: 1},
|
||||
{Name: "TCP_V6_FLOW", Value: 5},
|
||||
{Name: "TCP_WINDOW_CLAMP", Value: 10},
|
||||
{Name: "TCP_ZEROCOPY_RECEIVE", Value: 35},
|
||||
{Name: "TCSBRK", Value: 536900637},
|
||||
{Name: "TCSBRKP", Value: 21541},
|
||||
{Name: "TCXONC", Value: 536900638},
|
||||
@ -34097,4 +34118,4 @@ var consts_ppc64le = []ConstValue{
|
||||
{Name: "bpf_insn_load_imm_dw", Value: 24},
|
||||
}
|
||||
|
||||
const revision_ppc64le = "6c0b72a4509a302ee8c10faaff410c64128c3410"
|
||||
const revision_ppc64le = "3ee087a60ac3de56b9db957dec9f999e93062c3f"
|
||||
|
@ -35,7 +35,7 @@ socketpair$inet6_tcp(domain const[AF_INET6], type const[SOCK_STREAM], proto cons
|
||||
|
||||
# Generic TCP socket options
|
||||
|
||||
tcp_option_types_int = TCP_NODELAY, TCP_MAXSEG, TCP_CORK, TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT, TCP_SYNCNT, TCP_LINGER2, TCP_DEFER_ACCEPT, TCP_WINDOW_CLAMP, TCP_QUICKACK, TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT, TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_FASTOPEN, TCP_FASTOPEN_CONNECT, TCP_FASTOPEN_NO_COOKIE, TCP_TIMESTAMP, TCP_NOTSENT_LOWAT, TCP_SAVE_SYN
|
||||
tcp_option_types_int = TCP_NODELAY, TCP_MAXSEG, TCP_CORK, TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT, TCP_SYNCNT, TCP_LINGER2, TCP_DEFER_ACCEPT, TCP_WINDOW_CLAMP, TCP_QUICKACK, TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT, TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_FASTOPEN, TCP_FASTOPEN_CONNECT, TCP_FASTOPEN_NO_COOKIE, TCP_TIMESTAMP, TCP_NOTSENT_LOWAT, TCP_SAVE_SYN, TCP_INQ
|
||||
|
||||
tcp_option_types_buf = TCP_INFO, TCP_CONGESTION, TCP_ULP, TCP_MD5SIG, TCP_REPAIR_OPTIONS, TCP_CC_INFO, TCP_SAVED_SYN, TCP_REPAIR_WINDOW, TCP_FASTOPEN_KEY
|
||||
|
||||
@ -49,6 +49,16 @@ setsockopt$inet_tcp_buf(fd sock_tcp, level const[IPPROTO_TCP], optname flags[tcp
|
||||
getsockopt$inet6_tcp_buf(fd sock_tcp6, level const[IPPROTO_TCP], optname flags[tcp_option_types_buf], optval buffer[out], optlen ptr[inout, len[optval, int32]])
|
||||
setsockopt$inet6_tcp_buf(fd sock_tcp6, level const[IPPROTO_TCP], optname flags[tcp_option_types_buf], optval buffer[in], optlen len[optval])
|
||||
|
||||
getsockopt$inet_tcp_TCP_ZEROCOPY_RECEIVE(fd sock_tcp, level const[IPPROTO_TCP], optname const[TCP_ZEROCOPY_RECEIVE], optval ptr[in, tcp_zerocopy_receive], optlen ptr[inout, len[optval, int32]])
|
||||
getsockopt$inet6_tcp_TCP_ZEROCOPY_RECEIVE(fd sock_tcp6, level const[IPPROTO_TCP], optname const[TCP_ZEROCOPY_RECEIVE], optval ptr[in, tcp_zerocopy_receive], optlen ptr[inout, len[optval, int32]])
|
||||
|
||||
tcp_zerocopy_receive {
|
||||
# TODO: this is 8-byte pointer that must be page-aligned, need vma64.
|
||||
address vma
|
||||
length len[address, int32]
|
||||
recv_skip_hint const[0, int32]
|
||||
}
|
||||
|
||||
# Specific TCP socket options
|
||||
|
||||
# TODO: use TCP_SAVED_SYN to extract sequence numbers
|
||||
|
@ -22,6 +22,7 @@ TCP_FASTOPEN_KEY = 33
|
||||
TCP_FASTOPEN_KEY_LENGTH = 16
|
||||
TCP_FASTOPEN_NO_COOKIE = 34
|
||||
TCP_INFO = 11
|
||||
TCP_INQ = 36
|
||||
TCP_KEEPCNT = 6
|
||||
TCP_KEEPIDLE = 4
|
||||
TCP_KEEPINTVL = 5
|
||||
@ -46,6 +47,7 @@ TCP_TIMESTAMP = 24
|
||||
TCP_ULP = 31
|
||||
TCP_USER_TIMEOUT = 18
|
||||
TCP_WINDOW_CLAMP = 10
|
||||
TCP_ZEROCOPY_RECEIVE = 35
|
||||
TLS_1_2_VERSION = 771
|
||||
TLS_CIPHER_AES_GCM_128 = 51
|
||||
TLS_RX = 2
|
||||
|
@ -22,6 +22,7 @@ TCP_FASTOPEN_KEY = 33
|
||||
TCP_FASTOPEN_KEY_LENGTH = 16
|
||||
TCP_FASTOPEN_NO_COOKIE = 34
|
||||
TCP_INFO = 11
|
||||
TCP_INQ = 36
|
||||
TCP_KEEPCNT = 6
|
||||
TCP_KEEPIDLE = 4
|
||||
TCP_KEEPINTVL = 5
|
||||
@ -46,6 +47,7 @@ TCP_TIMESTAMP = 24
|
||||
TCP_ULP = 31
|
||||
TCP_USER_TIMEOUT = 18
|
||||
TCP_WINDOW_CLAMP = 10
|
||||
TCP_ZEROCOPY_RECEIVE = 35
|
||||
TLS_1_2_VERSION = 771
|
||||
TLS_CIPHER_AES_GCM_128 = 51
|
||||
TLS_RX = 2
|
||||
|
@ -22,6 +22,7 @@ TCP_FASTOPEN_KEY = 33
|
||||
TCP_FASTOPEN_KEY_LENGTH = 16
|
||||
TCP_FASTOPEN_NO_COOKIE = 34
|
||||
TCP_INFO = 11
|
||||
TCP_INQ = 36
|
||||
TCP_KEEPCNT = 6
|
||||
TCP_KEEPIDLE = 4
|
||||
TCP_KEEPINTVL = 5
|
||||
@ -46,6 +47,7 @@ TCP_TIMESTAMP = 24
|
||||
TCP_ULP = 31
|
||||
TCP_USER_TIMEOUT = 18
|
||||
TCP_WINDOW_CLAMP = 10
|
||||
TCP_ZEROCOPY_RECEIVE = 35
|
||||
TLS_1_2_VERSION = 771
|
||||
TLS_CIPHER_AES_GCM_128 = 51
|
||||
TLS_RX = 2
|
||||
|
@ -22,6 +22,7 @@ TCP_FASTOPEN_KEY = 33
|
||||
TCP_FASTOPEN_KEY_LENGTH = 16
|
||||
TCP_FASTOPEN_NO_COOKIE = 34
|
||||
TCP_INFO = 11
|
||||
TCP_INQ = 36
|
||||
TCP_KEEPCNT = 6
|
||||
TCP_KEEPIDLE = 4
|
||||
TCP_KEEPINTVL = 5
|
||||
@ -46,6 +47,7 @@ TCP_TIMESTAMP = 24
|
||||
TCP_ULP = 31
|
||||
TCP_USER_TIMEOUT = 18
|
||||
TCP_WINDOW_CLAMP = 10
|
||||
TCP_ZEROCOPY_RECEIVE = 35
|
||||
TLS_1_2_VERSION = 771
|
||||
TLS_CIPHER_AES_GCM_128 = 51
|
||||
TLS_RX = 2
|
||||
|
@ -22,6 +22,7 @@ TCP_FASTOPEN_KEY = 33
|
||||
TCP_FASTOPEN_KEY_LENGTH = 16
|
||||
TCP_FASTOPEN_NO_COOKIE = 34
|
||||
TCP_INFO = 11
|
||||
TCP_INQ = 36
|
||||
TCP_KEEPCNT = 6
|
||||
TCP_KEEPIDLE = 4
|
||||
TCP_KEEPINTVL = 5
|
||||
@ -46,6 +47,7 @@ TCP_TIMESTAMP = 24
|
||||
TCP_ULP = 31
|
||||
TCP_USER_TIMEOUT = 18
|
||||
TCP_WINDOW_CLAMP = 10
|
||||
TCP_ZEROCOPY_RECEIVE = 35
|
||||
TLS_1_2_VERSION = 771
|
||||
TLS_CIPHER_AES_GCM_128 = 51
|
||||
TLS_RX = 2
|
||||
|
Loading…
Reference in New Issue
Block a user