diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkload_bpfeb.go b/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkload_bpfeb.go index 6e36485b6..c7c68b642 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkload_bpfeb.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkload_bpfeb.go @@ -93,9 +93,10 @@ func LoadKmeshCgroupSockWorkloadObjects(obj interface{}, opts *ebpf.CollectionOp type KmeshCgroupSockWorkloadSpecs struct { KmeshCgroupSockWorkloadProgramSpecs KmeshCgroupSockWorkloadMapSpecs + KmeshCgroupSockWorkloadVariableSpecs } -// KmeshCgroupSockWorkloadSpecs contains programs before they are loaded into the kernel. +// KmeshCgroupSockWorkloadProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshCgroupSockWorkloadProgramSpecs struct { @@ -131,12 +132,19 @@ type KmeshCgroupSockWorkloadMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshCgroupSockWorkloadVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshCgroupSockWorkloadVariableSpecs struct { +} + // KmeshCgroupSockWorkloadObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshCgroupSockWorkloadObjects struct { KmeshCgroupSockWorkloadPrograms KmeshCgroupSockWorkloadMaps + KmeshCgroupSockWorkloadVariables } func (o *KmeshCgroupSockWorkloadObjects) Close() error { @@ -201,6 +209,12 @@ func (m *KmeshCgroupSockWorkloadMaps) Close() error { ) } +// KmeshCgroupSockWorkloadVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshCgroupSockWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshCgroupSockWorkloadVariables struct { +} + // KmeshCgroupSockWorkloadPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkload_bpfel.go b/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkload_bpfel.go index 44865b0e1..a18fc44d0 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkload_bpfel.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkload_bpfel.go @@ -93,9 +93,10 @@ func LoadKmeshCgroupSockWorkloadObjects(obj interface{}, opts *ebpf.CollectionOp type KmeshCgroupSockWorkloadSpecs struct { KmeshCgroupSockWorkloadProgramSpecs KmeshCgroupSockWorkloadMapSpecs + KmeshCgroupSockWorkloadVariableSpecs } -// KmeshCgroupSockWorkloadSpecs contains programs before they are loaded into the kernel. +// KmeshCgroupSockWorkloadProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshCgroupSockWorkloadProgramSpecs struct { @@ -131,12 +132,19 @@ type KmeshCgroupSockWorkloadMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshCgroupSockWorkloadVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshCgroupSockWorkloadVariableSpecs struct { +} + // KmeshCgroupSockWorkloadObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshCgroupSockWorkloadObjects struct { KmeshCgroupSockWorkloadPrograms KmeshCgroupSockWorkloadMaps + KmeshCgroupSockWorkloadVariables } func (o *KmeshCgroupSockWorkloadObjects) Close() error { @@ -201,6 +209,12 @@ func (m *KmeshCgroupSockWorkloadMaps) Close() error { ) } +// KmeshCgroupSockWorkloadVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshCgroupSockWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshCgroupSockWorkloadVariables struct { +} + // KmeshCgroupSockWorkloadPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkloadcompat_bpfeb.go b/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkloadcompat_bpfeb.go index 16a57fe31..1e2eefc73 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkloadcompat_bpfeb.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkloadcompat_bpfeb.go @@ -93,9 +93,10 @@ func LoadKmeshCgroupSockWorkloadCompatObjects(obj interface{}, opts *ebpf.Collec type KmeshCgroupSockWorkloadCompatSpecs struct { KmeshCgroupSockWorkloadCompatProgramSpecs KmeshCgroupSockWorkloadCompatMapSpecs + KmeshCgroupSockWorkloadCompatVariableSpecs } -// KmeshCgroupSockWorkloadCompatSpecs contains programs before they are loaded into the kernel. +// KmeshCgroupSockWorkloadCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshCgroupSockWorkloadCompatProgramSpecs struct { @@ -131,12 +132,19 @@ type KmeshCgroupSockWorkloadCompatMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshCgroupSockWorkloadCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshCgroupSockWorkloadCompatVariableSpecs struct { +} + // KmeshCgroupSockWorkloadCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshCgroupSockWorkloadCompatObjects struct { KmeshCgroupSockWorkloadCompatPrograms KmeshCgroupSockWorkloadCompatMaps + KmeshCgroupSockWorkloadCompatVariables } func (o *KmeshCgroupSockWorkloadCompatObjects) Close() error { @@ -201,6 +209,12 @@ func (m *KmeshCgroupSockWorkloadCompatMaps) Close() error { ) } +// KmeshCgroupSockWorkloadCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshCgroupSockWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshCgroupSockWorkloadCompatVariables struct { +} + // KmeshCgroupSockWorkloadCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkloadcompat_bpfel.go b/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkloadcompat_bpfel.go index 0ee46e1d3..ae9e265fc 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkloadcompat_bpfel.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshcgroupsockworkloadcompat_bpfel.go @@ -93,9 +93,10 @@ func LoadKmeshCgroupSockWorkloadCompatObjects(obj interface{}, opts *ebpf.Collec type KmeshCgroupSockWorkloadCompatSpecs struct { KmeshCgroupSockWorkloadCompatProgramSpecs KmeshCgroupSockWorkloadCompatMapSpecs + KmeshCgroupSockWorkloadCompatVariableSpecs } -// KmeshCgroupSockWorkloadCompatSpecs contains programs before they are loaded into the kernel. +// KmeshCgroupSockWorkloadCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshCgroupSockWorkloadCompatProgramSpecs struct { @@ -131,12 +132,19 @@ type KmeshCgroupSockWorkloadCompatMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshCgroupSockWorkloadCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshCgroupSockWorkloadCompatVariableSpecs struct { +} + // KmeshCgroupSockWorkloadCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshCgroupSockWorkloadCompatObjects struct { KmeshCgroupSockWorkloadCompatPrograms KmeshCgroupSockWorkloadCompatMaps + KmeshCgroupSockWorkloadCompatVariables } func (o *KmeshCgroupSockWorkloadCompatObjects) Close() error { @@ -201,6 +209,12 @@ func (m *KmeshCgroupSockWorkloadCompatMaps) Close() error { ) } +// KmeshCgroupSockWorkloadCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshCgroupSockWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshCgroupSockWorkloadCompatVariables struct { +} + // KmeshCgroupSockWorkloadCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshsendmsg_bpfeb.go b/bpf/kmesh/bpf2go/dualengine/kmeshsendmsg_bpfeb.go index d0bab7de7..e9caacac4 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshsendmsg_bpfeb.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshsendmsg_bpfeb.go @@ -67,9 +67,10 @@ func LoadKmeshSendmsgObjects(obj interface{}, opts *ebpf.CollectionOptions) erro type KmeshSendmsgSpecs struct { KmeshSendmsgProgramSpecs KmeshSendmsgMapSpecs + KmeshSendmsgVariableSpecs } -// KmeshSendmsgSpecs contains programs before they are loaded into the kernel. +// KmeshSendmsgProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshSendmsgProgramSpecs struct { @@ -86,12 +87,19 @@ type KmeshSendmsgMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshSendmsgVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshSendmsgVariableSpecs struct { +} + // KmeshSendmsgObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshSendmsgObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshSendmsgObjects struct { KmeshSendmsgPrograms KmeshSendmsgMaps + KmeshSendmsgVariables } func (o *KmeshSendmsgObjects) Close() error { @@ -120,6 +128,12 @@ func (m *KmeshSendmsgMaps) Close() error { ) } +// KmeshSendmsgVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshSendmsgObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshSendmsgVariables struct { +} + // KmeshSendmsgPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshSendmsgObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshsendmsg_bpfel.go b/bpf/kmesh/bpf2go/dualengine/kmeshsendmsg_bpfel.go index f5c45669d..c980ad70b 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshsendmsg_bpfel.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshsendmsg_bpfel.go @@ -67,9 +67,10 @@ func LoadKmeshSendmsgObjects(obj interface{}, opts *ebpf.CollectionOptions) erro type KmeshSendmsgSpecs struct { KmeshSendmsgProgramSpecs KmeshSendmsgMapSpecs + KmeshSendmsgVariableSpecs } -// KmeshSendmsgSpecs contains programs before they are loaded into the kernel. +// KmeshSendmsgProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshSendmsgProgramSpecs struct { @@ -86,12 +87,19 @@ type KmeshSendmsgMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshSendmsgVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshSendmsgVariableSpecs struct { +} + // KmeshSendmsgObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshSendmsgObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshSendmsgObjects struct { KmeshSendmsgPrograms KmeshSendmsgMaps + KmeshSendmsgVariables } func (o *KmeshSendmsgObjects) Close() error { @@ -120,6 +128,12 @@ func (m *KmeshSendmsgMaps) Close() error { ) } +// KmeshSendmsgVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshSendmsgObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshSendmsgVariables struct { +} + // KmeshSendmsgPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshSendmsgObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshsendmsgcompat_bpfeb.go b/bpf/kmesh/bpf2go/dualengine/kmeshsendmsgcompat_bpfeb.go index 262181069..d458531e9 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshsendmsgcompat_bpfeb.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshsendmsgcompat_bpfeb.go @@ -67,9 +67,10 @@ func LoadKmeshSendmsgCompatObjects(obj interface{}, opts *ebpf.CollectionOptions type KmeshSendmsgCompatSpecs struct { KmeshSendmsgCompatProgramSpecs KmeshSendmsgCompatMapSpecs + KmeshSendmsgCompatVariableSpecs } -// KmeshSendmsgCompatSpecs contains programs before they are loaded into the kernel. +// KmeshSendmsgCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshSendmsgCompatProgramSpecs struct { @@ -86,12 +87,19 @@ type KmeshSendmsgCompatMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshSendmsgCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshSendmsgCompatVariableSpecs struct { +} + // KmeshSendmsgCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshSendmsgCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshSendmsgCompatObjects struct { KmeshSendmsgCompatPrograms KmeshSendmsgCompatMaps + KmeshSendmsgCompatVariables } func (o *KmeshSendmsgCompatObjects) Close() error { @@ -120,6 +128,12 @@ func (m *KmeshSendmsgCompatMaps) Close() error { ) } +// KmeshSendmsgCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshSendmsgCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshSendmsgCompatVariables struct { +} + // KmeshSendmsgCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshSendmsgCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshsendmsgcompat_bpfel.go b/bpf/kmesh/bpf2go/dualengine/kmeshsendmsgcompat_bpfel.go index 30533b0ed..c90500035 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshsendmsgcompat_bpfel.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshsendmsgcompat_bpfel.go @@ -67,9 +67,10 @@ func LoadKmeshSendmsgCompatObjects(obj interface{}, opts *ebpf.CollectionOptions type KmeshSendmsgCompatSpecs struct { KmeshSendmsgCompatProgramSpecs KmeshSendmsgCompatMapSpecs + KmeshSendmsgCompatVariableSpecs } -// KmeshSendmsgCompatSpecs contains programs before they are loaded into the kernel. +// KmeshSendmsgCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshSendmsgCompatProgramSpecs struct { @@ -86,12 +87,19 @@ type KmeshSendmsgCompatMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshSendmsgCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshSendmsgCompatVariableSpecs struct { +} + // KmeshSendmsgCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshSendmsgCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshSendmsgCompatObjects struct { KmeshSendmsgCompatPrograms KmeshSendmsgCompatMaps + KmeshSendmsgCompatVariables } func (o *KmeshSendmsgCompatObjects) Close() error { @@ -120,6 +128,12 @@ func (m *KmeshSendmsgCompatMaps) Close() error { ) } +// KmeshSendmsgCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshSendmsgCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshSendmsgCompatVariables struct { +} + // KmeshSendmsgCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshSendmsgCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkload_bpfeb.go b/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkload_bpfeb.go index 607a2b8af..03b3a81bc 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkload_bpfeb.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkload_bpfeb.go @@ -93,9 +93,10 @@ func LoadKmeshSockopsWorkloadObjects(obj interface{}, opts *ebpf.CollectionOptio type KmeshSockopsWorkloadSpecs struct { KmeshSockopsWorkloadProgramSpecs KmeshSockopsWorkloadMapSpecs + KmeshSockopsWorkloadVariableSpecs } -// KmeshSockopsWorkloadSpecs contains programs before they are loaded into the kernel. +// KmeshSockopsWorkloadProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshSockopsWorkloadProgramSpecs struct { @@ -129,12 +130,19 @@ type KmeshSockopsWorkloadMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshSockopsWorkloadVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshSockopsWorkloadVariableSpecs struct { +} + // KmeshSockopsWorkloadObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshSockopsWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshSockopsWorkloadObjects struct { KmeshSockopsWorkloadPrograms KmeshSockopsWorkloadMaps + KmeshSockopsWorkloadVariables } func (o *KmeshSockopsWorkloadObjects) Close() error { @@ -197,6 +205,12 @@ func (m *KmeshSockopsWorkloadMaps) Close() error { ) } +// KmeshSockopsWorkloadVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshSockopsWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshSockopsWorkloadVariables struct { +} + // KmeshSockopsWorkloadPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshSockopsWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkload_bpfel.go b/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkload_bpfel.go index 22e8f4834..ce0f50963 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkload_bpfel.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkload_bpfel.go @@ -93,9 +93,10 @@ func LoadKmeshSockopsWorkloadObjects(obj interface{}, opts *ebpf.CollectionOptio type KmeshSockopsWorkloadSpecs struct { KmeshSockopsWorkloadProgramSpecs KmeshSockopsWorkloadMapSpecs + KmeshSockopsWorkloadVariableSpecs } -// KmeshSockopsWorkloadSpecs contains programs before they are loaded into the kernel. +// KmeshSockopsWorkloadProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshSockopsWorkloadProgramSpecs struct { @@ -129,12 +130,19 @@ type KmeshSockopsWorkloadMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshSockopsWorkloadVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshSockopsWorkloadVariableSpecs struct { +} + // KmeshSockopsWorkloadObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshSockopsWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshSockopsWorkloadObjects struct { KmeshSockopsWorkloadPrograms KmeshSockopsWorkloadMaps + KmeshSockopsWorkloadVariables } func (o *KmeshSockopsWorkloadObjects) Close() error { @@ -197,6 +205,12 @@ func (m *KmeshSockopsWorkloadMaps) Close() error { ) } +// KmeshSockopsWorkloadVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshSockopsWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshSockopsWorkloadVariables struct { +} + // KmeshSockopsWorkloadPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshSockopsWorkloadObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkloadcompat_bpfeb.go b/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkloadcompat_bpfeb.go index 531ba8e0c..272394a2b 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkloadcompat_bpfeb.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkloadcompat_bpfeb.go @@ -93,9 +93,10 @@ func LoadKmeshSockopsWorkloadCompatObjects(obj interface{}, opts *ebpf.Collectio type KmeshSockopsWorkloadCompatSpecs struct { KmeshSockopsWorkloadCompatProgramSpecs KmeshSockopsWorkloadCompatMapSpecs + KmeshSockopsWorkloadCompatVariableSpecs } -// KmeshSockopsWorkloadCompatSpecs contains programs before they are loaded into the kernel. +// KmeshSockopsWorkloadCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshSockopsWorkloadCompatProgramSpecs struct { @@ -129,12 +130,19 @@ type KmeshSockopsWorkloadCompatMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshSockopsWorkloadCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshSockopsWorkloadCompatVariableSpecs struct { +} + // KmeshSockopsWorkloadCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshSockopsWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshSockopsWorkloadCompatObjects struct { KmeshSockopsWorkloadCompatPrograms KmeshSockopsWorkloadCompatMaps + KmeshSockopsWorkloadCompatVariables } func (o *KmeshSockopsWorkloadCompatObjects) Close() error { @@ -197,6 +205,12 @@ func (m *KmeshSockopsWorkloadCompatMaps) Close() error { ) } +// KmeshSockopsWorkloadCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshSockopsWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshSockopsWorkloadCompatVariables struct { +} + // KmeshSockopsWorkloadCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshSockopsWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkloadcompat_bpfel.go b/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkloadcompat_bpfel.go index e34cb56cf..ac681833e 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkloadcompat_bpfel.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshsockopsworkloadcompat_bpfel.go @@ -93,9 +93,10 @@ func LoadKmeshSockopsWorkloadCompatObjects(obj interface{}, opts *ebpf.Collectio type KmeshSockopsWorkloadCompatSpecs struct { KmeshSockopsWorkloadCompatProgramSpecs KmeshSockopsWorkloadCompatMapSpecs + KmeshSockopsWorkloadCompatVariableSpecs } -// KmeshSockopsWorkloadCompatSpecs contains programs before they are loaded into the kernel. +// KmeshSockopsWorkloadCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshSockopsWorkloadCompatProgramSpecs struct { @@ -129,12 +130,19 @@ type KmeshSockopsWorkloadCompatMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshSockopsWorkloadCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshSockopsWorkloadCompatVariableSpecs struct { +} + // KmeshSockopsWorkloadCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshSockopsWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshSockopsWorkloadCompatObjects struct { KmeshSockopsWorkloadCompatPrograms KmeshSockopsWorkloadCompatMaps + KmeshSockopsWorkloadCompatVariables } func (o *KmeshSockopsWorkloadCompatObjects) Close() error { @@ -197,6 +205,12 @@ func (m *KmeshSockopsWorkloadCompatMaps) Close() error { ) } +// KmeshSockopsWorkloadCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshSockopsWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshSockopsWorkloadCompatVariables struct { +} + // KmeshSockopsWorkloadCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshSockopsWorkloadCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshxdpauth_bpfeb.go b/bpf/kmesh/bpf2go/dualengine/kmeshxdpauth_bpfeb.go index 5eb369210..79303ac6f 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshxdpauth_bpfeb.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshxdpauth_bpfeb.go @@ -79,9 +79,10 @@ func LoadKmeshXDPAuthObjects(obj interface{}, opts *ebpf.CollectionOptions) erro type KmeshXDPAuthSpecs struct { KmeshXDPAuthProgramSpecs KmeshXDPAuthMapSpecs + KmeshXDPAuthVariableSpecs } -// KmeshXDPAuthSpecs contains programs before they are loaded into the kernel. +// KmeshXDPAuthProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshXDPAuthProgramSpecs struct { @@ -117,12 +118,19 @@ type KmeshXDPAuthMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshXDPAuthVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshXDPAuthVariableSpecs struct { +} + // KmeshXDPAuthObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshXDPAuthObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshXDPAuthObjects struct { KmeshXDPAuthPrograms KmeshXDPAuthMaps + KmeshXDPAuthVariables } func (o *KmeshXDPAuthObjects) Close() error { @@ -183,6 +191,12 @@ func (m *KmeshXDPAuthMaps) Close() error { ) } +// KmeshXDPAuthVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshXDPAuthObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshXDPAuthVariables struct { +} + // KmeshXDPAuthPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshXDPAuthObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshxdpauth_bpfel.go b/bpf/kmesh/bpf2go/dualengine/kmeshxdpauth_bpfel.go index 1082bedf5..8e7a9b3f1 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshxdpauth_bpfel.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshxdpauth_bpfel.go @@ -79,9 +79,10 @@ func LoadKmeshXDPAuthObjects(obj interface{}, opts *ebpf.CollectionOptions) erro type KmeshXDPAuthSpecs struct { KmeshXDPAuthProgramSpecs KmeshXDPAuthMapSpecs + KmeshXDPAuthVariableSpecs } -// KmeshXDPAuthSpecs contains programs before they are loaded into the kernel. +// KmeshXDPAuthProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshXDPAuthProgramSpecs struct { @@ -117,12 +118,19 @@ type KmeshXDPAuthMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshXDPAuthVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshXDPAuthVariableSpecs struct { +} + // KmeshXDPAuthObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshXDPAuthObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshXDPAuthObjects struct { KmeshXDPAuthPrograms KmeshXDPAuthMaps + KmeshXDPAuthVariables } func (o *KmeshXDPAuthObjects) Close() error { @@ -183,6 +191,12 @@ func (m *KmeshXDPAuthMaps) Close() error { ) } +// KmeshXDPAuthVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshXDPAuthObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshXDPAuthVariables struct { +} + // KmeshXDPAuthPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshXDPAuthObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshxdpauthcompat_bpfeb.go b/bpf/kmesh/bpf2go/dualengine/kmeshxdpauthcompat_bpfeb.go index 92b2af4fd..5af75d09b 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshxdpauthcompat_bpfeb.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshxdpauthcompat_bpfeb.go @@ -79,9 +79,10 @@ func LoadKmeshXDPAuthCompatObjects(obj interface{}, opts *ebpf.CollectionOptions type KmeshXDPAuthCompatSpecs struct { KmeshXDPAuthCompatProgramSpecs KmeshXDPAuthCompatMapSpecs + KmeshXDPAuthCompatVariableSpecs } -// KmeshXDPAuthCompatSpecs contains programs before they are loaded into the kernel. +// KmeshXDPAuthCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshXDPAuthCompatProgramSpecs struct { @@ -117,12 +118,19 @@ type KmeshXDPAuthCompatMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshXDPAuthCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshXDPAuthCompatVariableSpecs struct { +} + // KmeshXDPAuthCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshXDPAuthCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshXDPAuthCompatObjects struct { KmeshXDPAuthCompatPrograms KmeshXDPAuthCompatMaps + KmeshXDPAuthCompatVariables } func (o *KmeshXDPAuthCompatObjects) Close() error { @@ -183,6 +191,12 @@ func (m *KmeshXDPAuthCompatMaps) Close() error { ) } +// KmeshXDPAuthCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshXDPAuthCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshXDPAuthCompatVariables struct { +} + // KmeshXDPAuthCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshXDPAuthCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/dualengine/kmeshxdpauthcompat_bpfel.go b/bpf/kmesh/bpf2go/dualengine/kmeshxdpauthcompat_bpfel.go index c63700de5..de10805b4 100644 --- a/bpf/kmesh/bpf2go/dualengine/kmeshxdpauthcompat_bpfel.go +++ b/bpf/kmesh/bpf2go/dualengine/kmeshxdpauthcompat_bpfel.go @@ -79,9 +79,10 @@ func LoadKmeshXDPAuthCompatObjects(obj interface{}, opts *ebpf.CollectionOptions type KmeshXDPAuthCompatSpecs struct { KmeshXDPAuthCompatProgramSpecs KmeshXDPAuthCompatMapSpecs + KmeshXDPAuthCompatVariableSpecs } -// KmeshXDPAuthCompatSpecs contains programs before they are loaded into the kernel. +// KmeshXDPAuthCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshXDPAuthCompatProgramSpecs struct { @@ -117,12 +118,19 @@ type KmeshXDPAuthCompatMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshXDPAuthCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshXDPAuthCompatVariableSpecs struct { +} + // KmeshXDPAuthCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshXDPAuthCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshXDPAuthCompatObjects struct { KmeshXDPAuthCompatPrograms KmeshXDPAuthCompatMaps + KmeshXDPAuthCompatVariables } func (o *KmeshXDPAuthCompatObjects) Close() error { @@ -183,6 +191,12 @@ func (m *KmeshXDPAuthCompatMaps) Close() error { ) } +// KmeshXDPAuthCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshXDPAuthCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshXDPAuthCompatVariables struct { +} + // KmeshXDPAuthCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshXDPAuthCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/general/kmeshtcmarkdecrypt_bpfeb.go b/bpf/kmesh/bpf2go/general/kmeshtcmarkdecrypt_bpfeb.go index 3318f3411..896601de7 100644 --- a/bpf/kmesh/bpf2go/general/kmeshtcmarkdecrypt_bpfeb.go +++ b/bpf/kmesh/bpf2go/general/kmeshtcmarkdecrypt_bpfeb.go @@ -68,9 +68,10 @@ func LoadKmeshTcMarkDecryptObjects(obj interface{}, opts *ebpf.CollectionOptions type KmeshTcMarkDecryptSpecs struct { KmeshTcMarkDecryptProgramSpecs KmeshTcMarkDecryptMapSpecs + KmeshTcMarkDecryptVariableSpecs } -// KmeshTcMarkDecryptSpecs contains programs before they are loaded into the kernel. +// KmeshTcMarkDecryptProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshTcMarkDecryptProgramSpecs struct { @@ -87,12 +88,19 @@ type KmeshTcMarkDecryptMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshTcMarkDecryptVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshTcMarkDecryptVariableSpecs struct { +} + // KmeshTcMarkDecryptObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkDecryptObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshTcMarkDecryptObjects struct { KmeshTcMarkDecryptPrograms KmeshTcMarkDecryptMaps + KmeshTcMarkDecryptVariables } func (o *KmeshTcMarkDecryptObjects) Close() error { @@ -121,6 +129,12 @@ func (m *KmeshTcMarkDecryptMaps) Close() error { ) } +// KmeshTcMarkDecryptVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshTcMarkDecryptObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshTcMarkDecryptVariables struct { +} + // KmeshTcMarkDecryptPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkDecryptObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/general/kmeshtcmarkdecrypt_bpfel.go b/bpf/kmesh/bpf2go/general/kmeshtcmarkdecrypt_bpfel.go index fe9096843..9d60aa576 100644 --- a/bpf/kmesh/bpf2go/general/kmeshtcmarkdecrypt_bpfel.go +++ b/bpf/kmesh/bpf2go/general/kmeshtcmarkdecrypt_bpfel.go @@ -68,9 +68,10 @@ func LoadKmeshTcMarkDecryptObjects(obj interface{}, opts *ebpf.CollectionOptions type KmeshTcMarkDecryptSpecs struct { KmeshTcMarkDecryptProgramSpecs KmeshTcMarkDecryptMapSpecs + KmeshTcMarkDecryptVariableSpecs } -// KmeshTcMarkDecryptSpecs contains programs before they are loaded into the kernel. +// KmeshTcMarkDecryptProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshTcMarkDecryptProgramSpecs struct { @@ -87,12 +88,19 @@ type KmeshTcMarkDecryptMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshTcMarkDecryptVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshTcMarkDecryptVariableSpecs struct { +} + // KmeshTcMarkDecryptObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkDecryptObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshTcMarkDecryptObjects struct { KmeshTcMarkDecryptPrograms KmeshTcMarkDecryptMaps + KmeshTcMarkDecryptVariables } func (o *KmeshTcMarkDecryptObjects) Close() error { @@ -121,6 +129,12 @@ func (m *KmeshTcMarkDecryptMaps) Close() error { ) } +// KmeshTcMarkDecryptVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshTcMarkDecryptObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshTcMarkDecryptVariables struct { +} + // KmeshTcMarkDecryptPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkDecryptObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/general/kmeshtcmarkdecryptcompat_bpfeb.go b/bpf/kmesh/bpf2go/general/kmeshtcmarkdecryptcompat_bpfeb.go index 301b640ec..3b05c26ec 100644 --- a/bpf/kmesh/bpf2go/general/kmeshtcmarkdecryptcompat_bpfeb.go +++ b/bpf/kmesh/bpf2go/general/kmeshtcmarkdecryptcompat_bpfeb.go @@ -68,9 +68,10 @@ func LoadKmeshTcMarkDecryptCompatObjects(obj interface{}, opts *ebpf.CollectionO type KmeshTcMarkDecryptCompatSpecs struct { KmeshTcMarkDecryptCompatProgramSpecs KmeshTcMarkDecryptCompatMapSpecs + KmeshTcMarkDecryptCompatVariableSpecs } -// KmeshTcMarkDecryptCompatSpecs contains programs before they are loaded into the kernel. +// KmeshTcMarkDecryptCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshTcMarkDecryptCompatProgramSpecs struct { @@ -87,12 +88,19 @@ type KmeshTcMarkDecryptCompatMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshTcMarkDecryptCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshTcMarkDecryptCompatVariableSpecs struct { +} + // KmeshTcMarkDecryptCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkDecryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshTcMarkDecryptCompatObjects struct { KmeshTcMarkDecryptCompatPrograms KmeshTcMarkDecryptCompatMaps + KmeshTcMarkDecryptCompatVariables } func (o *KmeshTcMarkDecryptCompatObjects) Close() error { @@ -121,6 +129,12 @@ func (m *KmeshTcMarkDecryptCompatMaps) Close() error { ) } +// KmeshTcMarkDecryptCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshTcMarkDecryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshTcMarkDecryptCompatVariables struct { +} + // KmeshTcMarkDecryptCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkDecryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/general/kmeshtcmarkdecryptcompat_bpfel.go b/bpf/kmesh/bpf2go/general/kmeshtcmarkdecryptcompat_bpfel.go index a0fcde11f..ec9fd27e0 100644 --- a/bpf/kmesh/bpf2go/general/kmeshtcmarkdecryptcompat_bpfel.go +++ b/bpf/kmesh/bpf2go/general/kmeshtcmarkdecryptcompat_bpfel.go @@ -68,9 +68,10 @@ func LoadKmeshTcMarkDecryptCompatObjects(obj interface{}, opts *ebpf.CollectionO type KmeshTcMarkDecryptCompatSpecs struct { KmeshTcMarkDecryptCompatProgramSpecs KmeshTcMarkDecryptCompatMapSpecs + KmeshTcMarkDecryptCompatVariableSpecs } -// KmeshTcMarkDecryptCompatSpecs contains programs before they are loaded into the kernel. +// KmeshTcMarkDecryptCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshTcMarkDecryptCompatProgramSpecs struct { @@ -87,12 +88,19 @@ type KmeshTcMarkDecryptCompatMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshTcMarkDecryptCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshTcMarkDecryptCompatVariableSpecs struct { +} + // KmeshTcMarkDecryptCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkDecryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshTcMarkDecryptCompatObjects struct { KmeshTcMarkDecryptCompatPrograms KmeshTcMarkDecryptCompatMaps + KmeshTcMarkDecryptCompatVariables } func (o *KmeshTcMarkDecryptCompatObjects) Close() error { @@ -121,6 +129,12 @@ func (m *KmeshTcMarkDecryptCompatMaps) Close() error { ) } +// KmeshTcMarkDecryptCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshTcMarkDecryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshTcMarkDecryptCompatVariables struct { +} + // KmeshTcMarkDecryptCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkDecryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/general/kmeshtcmarkencrypt_bpfeb.go b/bpf/kmesh/bpf2go/general/kmeshtcmarkencrypt_bpfeb.go index 9720f2de6..efc78952d 100644 --- a/bpf/kmesh/bpf2go/general/kmeshtcmarkencrypt_bpfeb.go +++ b/bpf/kmesh/bpf2go/general/kmeshtcmarkencrypt_bpfeb.go @@ -68,9 +68,10 @@ func LoadKmeshTcMarkEncryptObjects(obj interface{}, opts *ebpf.CollectionOptions type KmeshTcMarkEncryptSpecs struct { KmeshTcMarkEncryptProgramSpecs KmeshTcMarkEncryptMapSpecs + KmeshTcMarkEncryptVariableSpecs } -// KmeshTcMarkEncryptSpecs contains programs before they are loaded into the kernel. +// KmeshTcMarkEncryptProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshTcMarkEncryptProgramSpecs struct { @@ -87,12 +88,19 @@ type KmeshTcMarkEncryptMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshTcMarkEncryptVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshTcMarkEncryptVariableSpecs struct { +} + // KmeshTcMarkEncryptObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkEncryptObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshTcMarkEncryptObjects struct { KmeshTcMarkEncryptPrograms KmeshTcMarkEncryptMaps + KmeshTcMarkEncryptVariables } func (o *KmeshTcMarkEncryptObjects) Close() error { @@ -121,6 +129,12 @@ func (m *KmeshTcMarkEncryptMaps) Close() error { ) } +// KmeshTcMarkEncryptVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshTcMarkEncryptObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshTcMarkEncryptVariables struct { +} + // KmeshTcMarkEncryptPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkEncryptObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/general/kmeshtcmarkencrypt_bpfel.go b/bpf/kmesh/bpf2go/general/kmeshtcmarkencrypt_bpfel.go index 52dbce9d6..fff85ed9f 100644 --- a/bpf/kmesh/bpf2go/general/kmeshtcmarkencrypt_bpfel.go +++ b/bpf/kmesh/bpf2go/general/kmeshtcmarkencrypt_bpfel.go @@ -68,9 +68,10 @@ func LoadKmeshTcMarkEncryptObjects(obj interface{}, opts *ebpf.CollectionOptions type KmeshTcMarkEncryptSpecs struct { KmeshTcMarkEncryptProgramSpecs KmeshTcMarkEncryptMapSpecs + KmeshTcMarkEncryptVariableSpecs } -// KmeshTcMarkEncryptSpecs contains programs before they are loaded into the kernel. +// KmeshTcMarkEncryptProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshTcMarkEncryptProgramSpecs struct { @@ -87,12 +88,19 @@ type KmeshTcMarkEncryptMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshTcMarkEncryptVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshTcMarkEncryptVariableSpecs struct { +} + // KmeshTcMarkEncryptObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkEncryptObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshTcMarkEncryptObjects struct { KmeshTcMarkEncryptPrograms KmeshTcMarkEncryptMaps + KmeshTcMarkEncryptVariables } func (o *KmeshTcMarkEncryptObjects) Close() error { @@ -121,6 +129,12 @@ func (m *KmeshTcMarkEncryptMaps) Close() error { ) } +// KmeshTcMarkEncryptVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshTcMarkEncryptObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshTcMarkEncryptVariables struct { +} + // KmeshTcMarkEncryptPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkEncryptObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/general/kmeshtcmarkencryptcompat_bpfeb.go b/bpf/kmesh/bpf2go/general/kmeshtcmarkencryptcompat_bpfeb.go index 22e20fe7a..563ab358e 100644 --- a/bpf/kmesh/bpf2go/general/kmeshtcmarkencryptcompat_bpfeb.go +++ b/bpf/kmesh/bpf2go/general/kmeshtcmarkencryptcompat_bpfeb.go @@ -68,9 +68,10 @@ func LoadKmeshTcMarkEncryptCompatObjects(obj interface{}, opts *ebpf.CollectionO type KmeshTcMarkEncryptCompatSpecs struct { KmeshTcMarkEncryptCompatProgramSpecs KmeshTcMarkEncryptCompatMapSpecs + KmeshTcMarkEncryptCompatVariableSpecs } -// KmeshTcMarkEncryptCompatSpecs contains programs before they are loaded into the kernel. +// KmeshTcMarkEncryptCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshTcMarkEncryptCompatProgramSpecs struct { @@ -87,12 +88,19 @@ type KmeshTcMarkEncryptCompatMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshTcMarkEncryptCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshTcMarkEncryptCompatVariableSpecs struct { +} + // KmeshTcMarkEncryptCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkEncryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshTcMarkEncryptCompatObjects struct { KmeshTcMarkEncryptCompatPrograms KmeshTcMarkEncryptCompatMaps + KmeshTcMarkEncryptCompatVariables } func (o *KmeshTcMarkEncryptCompatObjects) Close() error { @@ -121,6 +129,12 @@ func (m *KmeshTcMarkEncryptCompatMaps) Close() error { ) } +// KmeshTcMarkEncryptCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshTcMarkEncryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshTcMarkEncryptCompatVariables struct { +} + // KmeshTcMarkEncryptCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkEncryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/general/kmeshtcmarkencryptcompat_bpfel.go b/bpf/kmesh/bpf2go/general/kmeshtcmarkencryptcompat_bpfel.go index 549a42f38..0d155c06f 100644 --- a/bpf/kmesh/bpf2go/general/kmeshtcmarkencryptcompat_bpfel.go +++ b/bpf/kmesh/bpf2go/general/kmeshtcmarkencryptcompat_bpfel.go @@ -68,9 +68,10 @@ func LoadKmeshTcMarkEncryptCompatObjects(obj interface{}, opts *ebpf.CollectionO type KmeshTcMarkEncryptCompatSpecs struct { KmeshTcMarkEncryptCompatProgramSpecs KmeshTcMarkEncryptCompatMapSpecs + KmeshTcMarkEncryptCompatVariableSpecs } -// KmeshTcMarkEncryptCompatSpecs contains programs before they are loaded into the kernel. +// KmeshTcMarkEncryptCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshTcMarkEncryptCompatProgramSpecs struct { @@ -87,12 +88,19 @@ type KmeshTcMarkEncryptCompatMapSpecs struct { KmTmpbuf *ebpf.MapSpec `ebpf:"km_tmpbuf"` } +// KmeshTcMarkEncryptCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshTcMarkEncryptCompatVariableSpecs struct { +} + // KmeshTcMarkEncryptCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkEncryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshTcMarkEncryptCompatObjects struct { KmeshTcMarkEncryptCompatPrograms KmeshTcMarkEncryptCompatMaps + KmeshTcMarkEncryptCompatVariables } func (o *KmeshTcMarkEncryptCompatObjects) Close() error { @@ -121,6 +129,12 @@ func (m *KmeshTcMarkEncryptCompatMaps) Close() error { ) } +// KmeshTcMarkEncryptCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshTcMarkEncryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshTcMarkEncryptCompatVariables struct { +} + // KmeshTcMarkEncryptCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshTcMarkEncryptCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsock_bpfeb.go b/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsock_bpfeb.go index b15035681..f0c315db4 100644 --- a/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsock_bpfeb.go +++ b/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsock_bpfeb.go @@ -88,9 +88,10 @@ func LoadKmeshCgroupSockObjects(obj interface{}, opts *ebpf.CollectionOptions) e type KmeshCgroupSockSpecs struct { KmeshCgroupSockProgramSpecs KmeshCgroupSockMapSpecs + KmeshCgroupSockVariableSpecs } -// KmeshCgroupSockSpecs contains programs before they are loaded into the kernel. +// KmeshCgroupSockProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshCgroupSockProgramSpecs struct { @@ -125,12 +126,19 @@ type KmeshCgroupSockMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshCgroupSockVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshCgroupSockVariableSpecs struct { +} + // KmeshCgroupSockObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshCgroupSockObjects struct { KmeshCgroupSockPrograms KmeshCgroupSockMaps + KmeshCgroupSockVariables } func (o *KmeshCgroupSockObjects) Close() error { @@ -189,6 +197,12 @@ func (m *KmeshCgroupSockMaps) Close() error { ) } +// KmeshCgroupSockVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshCgroupSockObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshCgroupSockVariables struct { +} + // KmeshCgroupSockPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsock_bpfel.go b/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsock_bpfel.go index a904ddd17..795a02d04 100644 --- a/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsock_bpfel.go +++ b/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsock_bpfel.go @@ -88,9 +88,10 @@ func LoadKmeshCgroupSockObjects(obj interface{}, opts *ebpf.CollectionOptions) e type KmeshCgroupSockSpecs struct { KmeshCgroupSockProgramSpecs KmeshCgroupSockMapSpecs + KmeshCgroupSockVariableSpecs } -// KmeshCgroupSockSpecs contains programs before they are loaded into the kernel. +// KmeshCgroupSockProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshCgroupSockProgramSpecs struct { @@ -125,12 +126,19 @@ type KmeshCgroupSockMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshCgroupSockVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshCgroupSockVariableSpecs struct { +} + // KmeshCgroupSockObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshCgroupSockObjects struct { KmeshCgroupSockPrograms KmeshCgroupSockMaps + KmeshCgroupSockVariables } func (o *KmeshCgroupSockObjects) Close() error { @@ -189,6 +197,12 @@ func (m *KmeshCgroupSockMaps) Close() error { ) } +// KmeshCgroupSockVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshCgroupSockObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshCgroupSockVariables struct { +} + // KmeshCgroupSockPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsockcompat_bpfeb.go b/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsockcompat_bpfeb.go index 55e3ab2ec..cc0c05d88 100644 --- a/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsockcompat_bpfeb.go +++ b/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsockcompat_bpfeb.go @@ -88,9 +88,10 @@ func LoadKmeshCgroupSockCompatObjects(obj interface{}, opts *ebpf.CollectionOpti type KmeshCgroupSockCompatSpecs struct { KmeshCgroupSockCompatProgramSpecs KmeshCgroupSockCompatMapSpecs + KmeshCgroupSockCompatVariableSpecs } -// KmeshCgroupSockCompatSpecs contains programs before they are loaded into the kernel. +// KmeshCgroupSockCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshCgroupSockCompatProgramSpecs struct { @@ -125,12 +126,19 @@ type KmeshCgroupSockCompatMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshCgroupSockCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshCgroupSockCompatVariableSpecs struct { +} + // KmeshCgroupSockCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshCgroupSockCompatObjects struct { KmeshCgroupSockCompatPrograms KmeshCgroupSockCompatMaps + KmeshCgroupSockCompatVariables } func (o *KmeshCgroupSockCompatObjects) Close() error { @@ -189,6 +197,12 @@ func (m *KmeshCgroupSockCompatMaps) Close() error { ) } +// KmeshCgroupSockCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshCgroupSockCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshCgroupSockCompatVariables struct { +} + // KmeshCgroupSockCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsockcompat_bpfel.go b/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsockcompat_bpfel.go index f4808eb12..f69e929e0 100644 --- a/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsockcompat_bpfel.go +++ b/bpf/kmesh/bpf2go/kernelnative/normal/kmeshcgroupsockcompat_bpfel.go @@ -88,9 +88,10 @@ func LoadKmeshCgroupSockCompatObjects(obj interface{}, opts *ebpf.CollectionOpti type KmeshCgroupSockCompatSpecs struct { KmeshCgroupSockCompatProgramSpecs KmeshCgroupSockCompatMapSpecs + KmeshCgroupSockCompatVariableSpecs } -// KmeshCgroupSockCompatSpecs contains programs before they are loaded into the kernel. +// KmeshCgroupSockCompatProgramSpecs contains programs before they are loaded into the kernel. // // It can be passed ebpf.CollectionSpec.Assign. type KmeshCgroupSockCompatProgramSpecs struct { @@ -125,12 +126,19 @@ type KmeshCgroupSockCompatMapSpecs struct { KmeshMap64 *ebpf.MapSpec `ebpf:"kmesh_map64"` } +// KmeshCgroupSockCompatVariableSpecs contains global variables before they are loaded into the kernel. +// +// It can be passed ebpf.CollectionSpec.Assign. +type KmeshCgroupSockCompatVariableSpecs struct { +} + // KmeshCgroupSockCompatObjects contains all objects after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockCompatObjects or ebpf.CollectionSpec.LoadAndAssign. type KmeshCgroupSockCompatObjects struct { KmeshCgroupSockCompatPrograms KmeshCgroupSockCompatMaps + KmeshCgroupSockCompatVariables } func (o *KmeshCgroupSockCompatObjects) Close() error { @@ -189,6 +197,12 @@ func (m *KmeshCgroupSockCompatMaps) Close() error { ) } +// KmeshCgroupSockCompatVariables contains all global variables after they have been loaded into the kernel. +// +// It can be passed to LoadKmeshCgroupSockCompatObjects or ebpf.CollectionSpec.LoadAndAssign. +type KmeshCgroupSockCompatVariables struct { +} + // KmeshCgroupSockCompatPrograms contains all programs after they have been loaded into the kernel. // // It can be passed to LoadKmeshCgroupSockCompatObjects or ebpf.CollectionSpec.LoadAndAssign. diff --git a/bpf/kmesh/workload/include/authz.h b/bpf/kmesh/workload/include/authz.h index 47d066782..0db08768b 100644 --- a/bpf/kmesh/workload/include/authz.h +++ b/bpf/kmesh/workload/include/authz.h @@ -248,15 +248,15 @@ static inline __u32 convert_ipv6_to_ip6addr(struct ip_addr *rule_addr, const str // reference cilium https://github.com/cilium/cilium/blob/main/bpf/lib/ipv6.h#L122 #define GET_PREFIX(PREFIX) bpf_htonl(PREFIX <= 0 ? 0 : PREFIX < 32 ? ((1 << PREFIX) - 1) << (32 - PREFIX) : 0xFFFFFFFF) -static inline void ipv6_addr_clear_suffix(union v6addr *addr, int prefix) +static inline void ipv6_addr_clear_suffix(__u32 ip6[4], int prefix) { - addr->p1 &= GET_PREFIX(prefix); + ip6[0] &= GET_PREFIX(prefix); prefix -= 32; - addr->p2 &= GET_PREFIX(prefix); + ip6[1] &= GET_PREFIX(prefix); prefix -= 32; - addr->p3 &= GET_PREFIX(prefix); + ip6[2] &= GET_PREFIX(prefix); prefix -= 32; - addr->p4 &= GET_PREFIX(prefix); + ip6[3] &= GET_PREFIX(prefix); } static inline int match_ipv4_rule(__u32 ruleIp, __u32 preFixLen, struct bpf_sock_tuple *tuple_info, __u8 type) @@ -280,7 +280,7 @@ static inline int match_ipv6_rule(struct ip_addr *rule_addr, struct ip_addr *tar if (prefixLen > 128) return UNMATCHED; - ipv6_addr_clear_suffix((union v6addr *)target_addr, prefixLen); + ipv6_addr_clear_suffix(target_addr->ip6, prefixLen); if (rule_addr->ip6[0] == target_addr->ip6[0] && rule_addr->ip6[1] == target_addr->ip6[1] && rule_addr->ip6[2] == target_addr->ip6[2] && rule_addr->ip6[3] == target_addr->ip6[3]) { return MATCHED; diff --git a/bpf/kmesh/workload/include/workload_common.h b/bpf/kmesh/workload/include/workload_common.h index b96a19c2f..ebb193409 100644 --- a/bpf/kmesh/workload/include/workload_common.h +++ b/bpf/kmesh/workload/include/workload_common.h @@ -26,20 +26,6 @@ typedef enum { LB_POLICY_FAILOVER = 2, } lb_policy_t; -union v6addr { - struct { - __u32 p1; - __u32 p2; - __u32 p3; - __u32 p4; - }; - struct { - __u64 d1; - __u64 d2; - }; - __u8 addr[16]; -} __packed; - #pragma pack(1) typedef struct { __u32 protocol; diff --git a/go.mod b/go.mod index 0809358fe..d1aaf9953 100644 --- a/go.mod +++ b/go.mod @@ -8,7 +8,7 @@ replace github.com/imdario/mergo => github.com/imdario/mergo v0.3.5 require ( github.com/agiledragon/gomonkey/v2 v2.12.0 github.com/cespare/xxhash/v2 v2.3.0 - github.com/cilium/ebpf v0.16.0 + github.com/cilium/ebpf v0.17.1 github.com/cncf/xds/go v0.0.0-20241213214725-57cfbe6fad57 github.com/containernetworking/cni v1.2.3 github.com/containernetworking/plugins v1.6.1 diff --git a/go.sum b/go.sum index e79742431..41db9980f 100644 --- a/go.sum +++ b/go.sum @@ -62,8 +62,8 @@ github.com/chai2010/gettext-go v1.0.3 h1:9liNh8t+u26xl5ddmWLmsOsdNLwkdRTg5AG+JnT github.com/chai2010/gettext-go v1.0.3/go.mod h1:y+wnP2cHYaVj19NZhYKAwEMH2CI1gNHeQQ+5AjwawxA= github.com/cheggaaa/pb/v3 v3.1.5 h1:QuuUzeM2WsAqG2gMqtzaWithDJv0i+i6UlnwSCI4QLk= github.com/cheggaaa/pb/v3 v3.1.5/go.mod h1:CrxkeghYTXi1lQBEI7jSn+3svI3cuc19haAj6jM60XI= -github.com/cilium/ebpf v0.16.0 h1:+BiEnHL6Z7lXnlGUsXQPPAE7+kenAd4ES8MQ5min0Ok= -github.com/cilium/ebpf v0.16.0/go.mod h1:L7u2Blt2jMM/vLAVgjxluxtBKlz3/GWjB0dMOEngfwE= +github.com/cilium/ebpf v0.17.1 h1:G8mzU81R2JA1nE5/8SRubzqvBMmAmri2VL8BIZPWvV0= +github.com/cilium/ebpf v0.17.1/go.mod h1:vay2FaYSmIlv3r8dNACd4mW/OCaZLJKJOo+IHBvCIO8= github.com/client9/misspell v0.3.4/go.mod h1:qj6jICC3Q7zFZvVWo7KLAzC3yx5G7kyvSDkc90ppPyw= github.com/cncf/udpa/go v0.0.0-20191209042840-269d4d468f6f/go.mod h1:M8M6+tZqaGXZJjfX53e64911xZQV5JYwmTeXPW+k8Sc= github.com/cncf/xds/go v0.0.0-20241213214725-57cfbe6fad57 h1:put7Je9ZyxbHtwr7IqGrW4LLVUupJQ2gbsDshKISSgU=