executor: bring up bond and veth devices

This commit is contained in:
Dmitry Vyukov 2018-02-22 20:16:37 +01:00
parent 907d649fc3
commit 6153a72ee1
9 changed files with 62 additions and 60 deletions

View File

@ -372,14 +372,15 @@ static void initialize_tun(int id)
static void initialize_netdevices(int id)
{
unsigned i;
const char* devtypes[] = {"ip6gretap", "bridge", "vcan"};
const char* devtypes[] = {"ip6gretap", "bridge", "vcan", "bond", "veth"};
const char* devnames[] = {"lo", "sit0", "bridge0", "vcan0", "tunl0",
"gre0", "gretap0", "ip_vti0", "ip6_vti0",
"ip6tnl0", "ip6gre0", "ip6gretap0",
"erspan0"};
"erspan0", "bond0", "veth0", "veth1"};
for (i = 0; i < sizeof(devtypes) / (sizeof(devtypes[0])); i++)
execute_command(0, "ip link add dev %s0 type %s", devtypes[i], devtypes[i]);
execute_command(0, "ip link add dev veth1 type veth");
for (i = 0; i < sizeof(devnames) / (sizeof(devnames[0])); i++) {
char addr[ADDR_MAX_LEN];
// Assign some unique address to devices. Some devices won't up without this.

View File

@ -2,7 +2,7 @@
#if defined(__i386__) || 0
#define GOARCH "386"
#define SYZ_REVISION "4885144f9fd0616a83b5aad174e502a97fef2579"
#define SYZ_REVISION "7fd88e39747e80adbe57789ea7aa2448c805c3df"
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
@ -1597,7 +1597,7 @@ call_t syscalls[] = {
#if defined(__x86_64__) || 0
#define GOARCH "amd64"
#define SYZ_REVISION "9b7d90db70a85ce4ca52fe31d459213bd0462e77"
#define SYZ_REVISION "a1ab4c6615189cd3eae0a2fea071472b05cfd54b"
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
@ -3245,7 +3245,7 @@ call_t syscalls[] = {
#if defined(__arm__) || 0
#define GOARCH "arm"
#define SYZ_REVISION "220e335504887d2061cc543f218477c072ed099b"
#define SYZ_REVISION "1f142d9c414bab0f13529534079cd76964348699"
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
@ -4850,7 +4850,7 @@ call_t syscalls[] = {
#if defined(__aarch64__) || 0
#define GOARCH "arm64"
#define SYZ_REVISION "606f172e9cacbfdd4fff24e8e9841fe84ec872be"
#define SYZ_REVISION "ea7a1ceeab803d647fac36d47ced5251be23558f"
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912
@ -6427,7 +6427,7 @@ call_t syscalls[] = {
#if defined(__ppc64__) || defined(__PPC64__) || defined(__powerpc64__) || 0
#define GOARCH "ppc64le"
#define SYZ_REVISION "d9dbb1a3cd545f26896881049213c908e2f79e60"
#define SYZ_REVISION "0c6922061a3c6a07f19c08cf45a5cdfffad6a284"
#define SYZ_PAGE_SIZE 4096
#define SYZ_NUM_PAGES 4096
#define SYZ_DATA_OFFSET 536870912

View File

@ -505,14 +505,15 @@ static void initialize_tun(int id)
static void initialize_netdevices(int id)
{
unsigned i;
const char* devtypes[] = {"ip6gretap", "bridge", "vcan"};
const char* devtypes[] = {"ip6gretap", "bridge", "vcan", "bond", "veth"};
const char* devnames[] = {"lo", "sit0", "bridge0", "vcan0", "tunl0",
"gre0", "gretap0", "ip_vti0", "ip6_vti0",
"ip6tnl0", "ip6gre0", "ip6gretap0",
"erspan0"};
"erspan0", "bond0", "veth0", "veth1"};
for (i = 0; i < sizeof(devtypes) / (sizeof(devtypes[0])); i++)
execute_command(0, "ip link add dev %s0 type %s", devtypes[i], devtypes[i]);
execute_command(0, "ip link add dev veth1 type veth");
for (i = 0; i < sizeof(devnames) / (sizeof(devnames[0])); i++) {
char addr[ADDR_MAX_LEN];
snprintf_check(addr, sizeof(addr), DEV_IPV4, id, id + 10);

View File

@ -5442,7 +5442,7 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]"}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]"}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]"}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]"}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local"}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5451,7 +5451,7 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]", Dir: 1}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]", Dir: 1}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 1}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 1}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local", Dir: 1}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6, ArgDir: 1}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5460,7 +5460,7 @@ var structDescs_386 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]", Dir: 2}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]", Dir: 2}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 2}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 2}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local", Dir: 2}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5519,20 +5519,20 @@ var structDescs_386 = []*KeyedStruct{
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Val: 187},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6, ArgDir: 1}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6, ArgDir: 1}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6, ArgDir: 2}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6, ArgDir: 2}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mf6cctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mf6cctl", TypeSize: 92}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "mf6cc_origin"},
@ -25021,4 +25021,4 @@ var consts_386 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_386 = "4885144f9fd0616a83b5aad174e502a97fef2579"
const revision_386 = "7fd88e39747e80adbe57789ea7aa2448c805c3df"

View File

@ -5535,7 +5535,7 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]"}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]"}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]"}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]"}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local"}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5544,7 +5544,7 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]", Dir: 1}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]", Dir: 1}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 1}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 1}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local", Dir: 1}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6, ArgDir: 1}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5553,7 +5553,7 @@ var structDescs_amd64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]", Dir: 2}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]", Dir: 2}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 2}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 2}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local", Dir: 2}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5612,20 +5612,20 @@ var structDescs_amd64 = []*KeyedStruct{
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Val: 187},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6, ArgDir: 1}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6, ArgDir: 1}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6, ArgDir: 2}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6, ArgDir: 2}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mf6cctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mf6cctl", TypeSize: 92}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "mf6cc_origin"},
@ -25622,4 +25622,4 @@ var consts_amd64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_amd64 = "9b7d90db70a85ce4ca52fe31d459213bd0462e77"
const revision_amd64 = "a1ab4c6615189cd3eae0a2fea071472b05cfd54b"

View File

@ -5264,7 +5264,7 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]"}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]"}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]"}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]"}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local"}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5273,7 +5273,7 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]", Dir: 1}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]", Dir: 1}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 1}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 1}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local", Dir: 1}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6, ArgDir: 1}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5282,7 +5282,7 @@ var structDescs_arm = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]", Dir: 2}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]", Dir: 2}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 2}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 2}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local", Dir: 2}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5341,20 +5341,20 @@ var structDescs_arm = []*KeyedStruct{
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Val: 187},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6, ArgDir: 1}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6, ArgDir: 1}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6, ArgDir: 2}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6, ArgDir: 2}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mf6cctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mf6cctl", TypeSize: 92}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "mf6cc_origin"},
@ -24872,4 +24872,4 @@ var consts_arm = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_arm = "220e335504887d2061cc543f218477c072ed099b"
const revision_arm = "1f142d9c414bab0f13529534079cd76964348699"

View File

@ -5340,7 +5340,7 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]"}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]"}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]"}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]"}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local"}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5349,7 +5349,7 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]", Dir: 1}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]", Dir: 1}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 1}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 1}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local", Dir: 1}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6, ArgDir: 1}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5358,7 +5358,7 @@ var structDescs_arm64 = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]", Dir: 2}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]", Dir: 2}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 2}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 2}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local", Dir: 2}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5417,20 +5417,20 @@ var structDescs_arm64 = []*KeyedStruct{
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Val: 187},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6, ArgDir: 1}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6, ArgDir: 1}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6, ArgDir: 2}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6, ArgDir: 2}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mf6cctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mf6cctl", TypeSize: 92}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "mf6cc_origin"},
@ -25004,4 +25004,4 @@ var consts_arm64 = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_arm64 = "606f172e9cacbfdd4fff24e8e9841fe84ec872be"
const revision_arm64 = "ea7a1ceeab803d647fac36d47ced5251be23558f"

View File

@ -5316,7 +5316,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]"}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]"}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]"}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]"}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local"}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5325,7 +5325,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]", Dir: 1}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]", Dir: 1}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 1}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 1}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local", Dir: 1}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6, ArgDir: 1}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5334,7 +5334,7 @@ var structDescs_ppc64le = []*KeyedStruct{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "empty", TypeSize: 6, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xaa, int8]]", Dir: 2}, FldName: "local"},
&StructType{Key: StructKey{Name: "mac_addr_t[const[0xbb, int8]]", Dir: 2}, FldName: "remote"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 2}, FldName: "dev"},
&StructType{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 2}, FldName: "dev"},
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "broadcast", TypeSize: 6, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}, Val: 255}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
&StructType{Key: StructKey{Name: "mac_addr_link_local", Dir: 2}, FldName: "link_local"},
&BufferType{TypeCommon: TypeCommon{TypeName: "array", FldName: "random", TypeSize: 6, ArgDir: 2}, Kind: 1, RangeBegin: 6, RangeEnd: 6},
@ -5393,20 +5393,20 @@ var structDescs_ppc64le = []*KeyedStruct{
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1},
&ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Val: 187},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6, ArgDir: 1}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 1}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6, ArgDir: 1}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4, ArgDir: 1}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 1}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 1}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 1}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mac_addr_t[int8[10:23]]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:23]]", TypeSize: 6, ArgDir: 2}, Fields: []Type{
{Key: StructKey{Name: "mac_addr_t[int8[10:26]]", Dir: 2}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mac_addr_t[int8[10:26]]", TypeSize: 6, ArgDir: 2}, Fields: []Type{
&ArrayType{TypeCommon: TypeCommon{TypeName: "array", FldName: "a0", TypeSize: 4, ArgDir: 2}, Type: &ConstType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "const", TypeSize: 1, ArgDir: 2}}, Val: 170}, Kind: 1, RangeBegin: 4, RangeEnd: 4},
&ProcType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "proc", FldName: "a1", TypeSize: 1, ArgDir: 2}}, ValuesPerProc: 1},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 10, RangeEnd: 23},
&IntType{IntTypeCommon: IntTypeCommon{TypeCommon: TypeCommon{TypeName: "int8", FldName: "a2", TypeSize: 1, ArgDir: 2}}, Kind: 2, RangeBegin: 10, RangeEnd: 26},
}}},
{Key: StructKey{Name: "mf6cctl"}, Desc: &StructDesc{TypeCommon: TypeCommon{TypeName: "mf6cctl", TypeSize: 92}, Fields: []Type{
&StructType{Key: StructKey{Name: "sockaddr_in6"}, FldName: "mf6cc_origin"},
@ -24766,4 +24766,4 @@ var consts_ppc64le = []ConstValue{
{Name: "bpf_insn_load_imm_dw", Value: 24},
}
const revision_ppc64le = "d9dbb1a3cd545f26896881049213c908e2f79e60"
const revision_ppc64le = "0c6922061a3c6a07f19c08cf45a5cdfffad6a284"

View File

@ -58,7 +58,7 @@ mac_addr [
# These correspond to LOCAL_MAC/REMOTE_MAC/DEV_MAC in executor/common_linux.h
local mac_addr_t[const[0xaa, int8]]
remote mac_addr_t[const[0xbb, int8]]
dev mac_addr_t[int8[10:23]]
dev mac_addr_t[int8[10:26]]
broadcast array[const[0xff, int8], 6]
link_local mac_addr_link_local
random array[int8, 6]