types

package
v1.20.0-pre.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 1, 2026 License: Apache-2.0 Imports: 1 Imported by: 11

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type AuthInfo

type AuthInfo struct {
	Expiration uint64
	// contains filtered or unexported fields
}

AuthInfo is generated from the BPF C type auth_info.

type AuthKey

type AuthKey struct {
	LocalSecLabel  uint32
	RemoteSecLabel uint32
	RemoteNodeID   uint16
	AuthType       uint8
	Pad            uint8
	// contains filtered or unexported fields
}

AuthKey is generated from the BPF C type auth_key.

type Be32

type Be32 uint32

Be32 is generated from the BPF C type __be32.

type CTEntry

type CTEntry struct {
	NATAddr struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	Packets  uint64
	Bytes    uint64
	Lifetime uint32

	RevNATIndex  uint16
	NATPort      uint16
	TxFlagsSeen  uint8
	RxFlagsSeen  uint8
	SrcSecID     uint32
	LastTxReport uint32
	LastRxReport uint32
	// contains filtered or unexported fields
}

CTEntry is generated from the BPF C type ct_entry.

type DebugCaptureMsg

type DebugCaptureMsg struct {
	Type       uint8
	Subtype    uint8
	Source     uint16
	Hash       uint32
	LenOrig    uint32
	LenCap     uint16
	Version    uint8
	ExtVersion uint8
	Arg1       uint32
	Arg2       uint32
	// contains filtered or unexported fields
}

DebugCaptureMsg is generated from the BPF C type debug_capture_msg.

type DebugMsg

type DebugMsg struct {
	Type    uint8
	Subtype uint8
	Source  uint16
	Hash    uint32
	Arg1    uint32
	Arg2    uint32
	Arg3    uint32
	// contains filtered or unexported fields
}

DebugMsg is generated from the BPF C type debug_msg.

type DeviceState

type DeviceState struct {
	MAC struct {
		Addr [6]uint8
		// contains filtered or unexported fields
	}

	Pad1 uint8
	Pad2 uint16
	Pad3 uint32
	// contains filtered or unexported fields
}

DeviceState is generated from the BPF C type device_state.

type DropNotify

type DropNotify struct {
	Type       uint8
	Subtype    uint8
	Source     uint16
	Hash       uint32
	LenOrig    uint32
	LenCap     uint16
	Version    uint8
	ExtVersion uint8
	SrcLabel   uint32
	DstLabel   uint32
	DstID      uint32
	Line       uint16
	File       uint8
	ExtError   int8
	IfIndex    uint32
	Flags      uint8
	Pad2       [3]uint8
	IPTraceID  uint64
	// contains filtered or unexported fields
}

DropNotify is generated from the BPF C type drop_notify.

type EDTID

type EDTID struct {
	ID        uint32
	Direction uint8
	Pad       [3]uint8
	// contains filtered or unexported fields
}

EDTID is generated from the BPF C type edt_id.

type EDTInfo

type EDTInfo struct {
	Bps          uint64
	TLast        uint64
	THorizonDrop uint64
	Prio         uint32
	Pad32        uint32
	Pad          [3]uint64
	// contains filtered or unexported fields
}

EDTInfo is generated from the BPF C type edt_info.

type EgressGWPolicyEntry

type EgressGWPolicyEntry struct {
	EgressIP  uint32
	GatewayIP uint32
	// contains filtered or unexported fields
}

EgressGWPolicyEntry is generated from the BPF C type egress_gw_policy_entry.

type EgressGWPolicyEntry6

type EgressGWPolicyEntry6 struct {
	EgressIP struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	GatewayIP     uint32
	Reserved      [3]uint32
	EgressIfIndex uint32
	Reserved2     uint32
	// contains filtered or unexported fields
}

EgressGWPolicyEntry6 is generated from the BPF C type egress_gw_policy_entry6.

type EgressGWPolicyEntryV2

type EgressGWPolicyEntryV2 struct {
	EgressIP      uint32
	GatewayIP     uint32
	Reserved      [3]uint32
	EgressIfIndex uint32
	Reserved2     uint32
	// contains filtered or unexported fields
}

EgressGWPolicyEntryV2 is generated from the BPF C type egress_gw_policy_entry_v2.

type EgressGWPolicyKey

type EgressGWPolicyKey struct {
	LPMKey struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	SAddr uint32
	DAddr uint32
	// contains filtered or unexported fields
}

EgressGWPolicyKey is generated from the BPF C type egress_gw_policy_key.

type EgressGWPolicyKey6

type EgressGWPolicyKey6 struct {
	LPMKey struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	SAddr struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	DAddr struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

EgressGWPolicyKey6 is generated from the BPF C type egress_gw_policy_key6.

type EncryptConfig

type EncryptConfig struct {
	EncryptKey uint8
	// contains filtered or unexported fields
}

EncryptConfig is generated from the BPF C type encrypt_config.

type EndpointInfo

type EndpointInfo struct {
	IfIndex       uint32
	Unused        uint16
	LXCID         uint16
	Flags         uint32
	RtInfo        uint32
	MAC           uint64
	NodeMAC       uint64
	SecID         uint32
	ParentIfIndex uint32
	Pad           [2]uint32
	// contains filtered or unexported fields
}

EndpointInfo is generated from the BPF C type endpoint_info.

type EndpointKey

type EndpointKey struct {
	IP4 struct {
		Addr [4]uint8
		// contains filtered or unexported fields
	}

	Family    uint8
	Key       uint8
	ClusterID uint16
	// contains filtered or unexported fields
}

EndpointKey is generated from the BPF C type endpoint_key.

type IPCacheKey

type IPCacheKey struct {
	LPMKey struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	ClusterID uint16
	Pad1      uint8
	Family    uint8
	IP4       struct {
		Addr [4]uint8
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

IPCacheKey is generated from the BPF C type ipcache_key.

type IPv4CTTuple

type IPv4CTTuple struct {
	DAddr   uint32
	SAddr   uint32
	DPort   uint16
	SPort   uint16
	Nexthdr uint8
	Flags   uint8
	// contains filtered or unexported fields
}

IPv4CTTuple is generated from the BPF C type ipv4_ct_tuple.

type IPv4FragID

type IPv4FragID struct {
	DAddr uint32
	SAddr uint32
	ID    uint16
	Proto uint8
	Pad   uint8
	// contains filtered or unexported fields
}

IPv4FragID is generated from the BPF C type ipv4_frag_id.

type IPv4FragL4ports

type IPv4FragL4ports struct {
	SPort uint16
	DPort uint16
	// contains filtered or unexported fields
}

IPv4FragL4ports is generated from the BPF C type ipv4_frag_l4ports.

type IPv4NATEntry

type IPv4NATEntry struct {
	Common struct {
		Created uint64
		NeedsCT uint64
		Pad1    uint64
		Pad2    uint64
		// contains filtered or unexported fields
	}
	NATInfo struct {
		Address uint32
		Port    uint16
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

IPv4NATEntry is generated from the BPF C type ipv4_nat_entry.

type IPv4RevNATEntry

type IPv4RevNATEntry struct {
	Address     uint32
	Port        uint16
	RevNATIndex uint16
	// contains filtered or unexported fields
}

IPv4RevNATEntry is generated from the BPF C type ipv4_revnat_entry.

type IPv4RevNATTuple

type IPv4RevNATTuple struct {
	Cookie  uint64
	Address uint32
	Port    uint16
	Pad     uint16
	// contains filtered or unexported fields
}

IPv4RevNATTuple is generated from the BPF C type ipv4_revnat_tuple.

type IPv6CTTuple

type IPv6CTTuple struct {
	DAddr struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	SAddr struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	DPort   uint16
	SPort   uint16
	Nexthdr uint8
	Flags   uint8
	// contains filtered or unexported fields
}

IPv6CTTuple is generated from the BPF C type ipv6_ct_tuple.

type IPv6FragID

type IPv6FragID struct {
	ID    uint32
	Proto uint8
	Pad   [3]uint8
	SAddr struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	DAddr struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

IPv6FragID is generated from the BPF C type ipv6_frag_id.

type IPv6FragL4ports

type IPv6FragL4ports struct {
	SPort uint16
	DPort uint16
	// contains filtered or unexported fields
}

IPv6FragL4ports is generated from the BPF C type ipv6_frag_l4ports.

type IPv6NATEntry

type IPv6NATEntry struct {
	Common struct {
		Created uint64
		NeedsCT uint64
		Pad1    uint64
		Pad2    uint64
		// contains filtered or unexported fields
	}
	NATInfo struct {
		Address struct {
			Addr [16]uint8
			// contains filtered or unexported fields
		}
		Port uint16
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

IPv6NATEntry is generated from the BPF C type ipv6_nat_entry.

type IPv6RevNATEntry

type IPv6RevNATEntry struct {
	Address struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	Port        uint16
	RevNATIndex uint16
	// contains filtered or unexported fields
}

IPv6RevNATEntry is generated from the BPF C type ipv6_revnat_entry.

type IPv6RevNATTuple

type IPv6RevNATTuple struct {
	Cookie  uint64
	Address struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	Port uint16
	Pad  uint16
	// contains filtered or unexported fields
}

IPv6RevNATTuple is generated from the BPF C type ipv6_revnat_tuple.

type L2ResponderStats

type L2ResponderStats struct {
	ResponsesSent uint64
	// contains filtered or unexported fields
}

L2ResponderStats is generated from the BPF C type l2_responder_stats.

type L2ResponderV4Key

type L2ResponderV4Key struct {
	IP4 struct {
		Addr [4]uint8
		// contains filtered or unexported fields
	}
	IfIndex uint32
	// contains filtered or unexported fields
}

L2ResponderV4Key is generated from the BPF C type l2_responder_v4_key.

type L2ResponderV6Key

type L2ResponderV6Key struct {
	IP6 struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	IfIndex uint32
	Pad     uint32
	// contains filtered or unexported fields
}

L2ResponderV6Key is generated from the BPF C type l2_responder_v6_key.

type LB4AffinityKey

type LB4AffinityKey struct {
	ClientID struct {
		ClientIP uint32
		// contains filtered or unexported fields
	}
	RevNATID uint16

	Pad1 uint8
	Pad2 uint32
	// contains filtered or unexported fields
}

LB4AffinityKey is generated from the BPF C type lb4_affinity_key.

type LB4Backend

type LB4Backend struct {
	Address   uint32
	Port      uint16
	Proto     uint8
	Flags     uint8
	ClusterID uint16
	Zone      uint8
	Pad       uint8
	// contains filtered or unexported fields
}

LB4Backend is generated from the BPF C type lb4_backend.

type LB4Health

type LB4Health struct {
	Peer struct {
		Address   uint32
		Port      uint16
		Proto     uint8
		Flags     uint8
		ClusterID uint16
		Zone      uint8
		Pad       uint8
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

LB4Health is generated from the BPF C type lb4_health.

type LB4Key

type LB4Key struct {
	Address     uint32
	DPort       uint16
	BackendSlot uint16
	Proto       uint8
	Scope       uint8
	Pad         [2]uint8
	// contains filtered or unexported fields
}

LB4Key is generated from the BPF C type lb4_key.

type LB4ReverseNAT

type LB4ReverseNAT struct {
	Address uint32
	Port    uint16
	// contains filtered or unexported fields
}

LB4ReverseNAT is generated from the BPF C type lb4_reverse_nat.

type LB4Service

type LB4Service struct {
	BackendID   uint32
	Count       uint16
	RevNATIndex uint16
	Flags       uint8
	Flags2      uint8
	Qcount      uint16
	// contains filtered or unexported fields
}

LB4Service is generated from the BPF C type lb4_service.

type LB4SrcRangeKey

type LB4SrcRangeKey struct {
	LPMKey struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	RevNATID uint16
	Pad      uint16
	Addr     uint32
	// contains filtered or unexported fields
}

LB4SrcRangeKey is generated from the BPF C type lb4_src_range_key.

type LB6AffinityKey

type LB6AffinityKey struct {
	ClientID struct {
		ClientIP struct {
			Addr [16]uint8
			// contains filtered or unexported fields
		}
		// contains filtered or unexported fields
	}
	RevNATID uint16

	Pad1 uint8
	Pad2 uint32
	// contains filtered or unexported fields
}

LB6AffinityKey is generated from the BPF C type lb6_affinity_key.

type LB6Backend

type LB6Backend struct {
	Address struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	Port      uint16
	Proto     uint8
	Flags     uint8
	ClusterID uint16
	Zone      uint8
	Pad       uint8
	// contains filtered or unexported fields
}

LB6Backend is generated from the BPF C type lb6_backend.

type LB6Health

type LB6Health struct {
	Peer struct {
		Address struct {
			Addr [16]uint8
			// contains filtered or unexported fields
		}
		Port      uint16
		Proto     uint8
		Flags     uint8
		ClusterID uint16
		Zone      uint8
		Pad       uint8
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

LB6Health is generated from the BPF C type lb6_health.

type LB6Key

type LB6Key struct {
	Address struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	DPort       uint16
	BackendSlot uint16
	Proto       uint8
	Scope       uint8
	Pad         [2]uint8
	// contains filtered or unexported fields
}

LB6Key is generated from the BPF C type lb6_key.

type LB6ReverseNAT

type LB6ReverseNAT struct {
	Address struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	Port uint16
	// contains filtered or unexported fields
}

LB6ReverseNAT is generated from the BPF C type lb6_reverse_nat.

type LB6Service

type LB6Service struct {
	BackendID   uint32
	Count       uint16
	RevNATIndex uint16
	Flags       uint8
	Flags2      uint8
	Qcount      uint16
	// contains filtered or unexported fields
}

LB6Service is generated from the BPF C type lb6_service.

type LB6SrcRangeKey

type LB6SrcRangeKey struct {
	LPMKey struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	RevNATID uint16
	Pad      uint16
	Addr     struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

LB6SrcRangeKey is generated from the BPF C type lb6_src_range_key.

type LBACTKey

type LBACTKey struct {
	SvcID uint16
	Zone  uint8
	Pad   uint8
	// contains filtered or unexported fields
}

LBACTKey is generated from the BPF C type lb_act_key.

type LBACTValue

type LBACTValue struct {
	Opened uint32
	Closed uint32
	// contains filtered or unexported fields
}

LBACTValue is generated from the BPF C type lb_act_value.

type LBAffinityMatch

type LBAffinityMatch struct {
	BackendID uint32
	RevNATID  uint16
	Pad       uint16
	// contains filtered or unexported fields
}

LBAffinityMatch is generated from the BPF C type lb_affinity_match.

type LBAffinityVal

type LBAffinityVal struct {
	LastUsed  uint64
	BackendID uint32
	Pad       uint32
	// contains filtered or unexported fields
}

LBAffinityVal is generated from the BPF C type lb_affinity_val.

type LPMV4Key

type LPMV4Key struct {
	LPM struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	Addr [4]uint8
	// contains filtered or unexported fields
}

LPMV4Key is generated from the BPF C type lpm_v4_key.

type LPMV6Key

type LPMV6Key struct {
	LPM struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	Addr [16]uint8
	// contains filtered or unexported fields
}

LPMV6Key is generated from the BPF C type lpm_v6_key.

type LPMVal

type LPMVal struct {
	Flags uint8
	// contains filtered or unexported fields
}

LPMVal is generated from the BPF C type lpm_val.

type MACAddr

type MACAddr struct {
	Addr [6]uint8
	// contains filtered or unexported fields
}

MACAddr is generated from the BPF C type macaddr.

type McastGroupV4

type McastGroupV4 uint32

McastGroupV4 is generated from the BPF C type mcast_group_v4.

type McastSubscriberV4

type McastSubscriberV4 struct {
	SAddr   uint32
	IfIndex uint32
	Pad1    uint16
	Pad2    uint8
	Flags   uint8
	// contains filtered or unexported fields
}

McastSubscriberV4 is generated from the BPF C type mcast_subscriber_v4.

type MetricsKey

type MetricsKey struct {
	Reason uint8

	Line     uint16
	File     uint8
	Reserved [3]uint8
	// contains filtered or unexported fields
}

MetricsKey is generated from the BPF C type metrics_key.

type MetricsValue

type MetricsValue struct {
	Count uint64
	Bytes uint64
	// contains filtered or unexported fields
}

MetricsValue is generated from the BPF C type metrics_value.

type NodeKey

type NodeKey struct {
	Pad1   uint16
	Pad2   uint8
	Family uint8
	IP4    struct {
		Addr [4]uint8
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

NodeKey is generated from the BPF C type node_key.

type NodeValue

type NodeValue struct {
	ID  uint16
	SPI uint8
	Pad uint8
	// contains filtered or unexported fields
}

NodeValue is generated from the BPF C type node_value.

type PolicyEntry

type PolicyEntry struct {
	ProxyPort uint16

	Precedence uint32
	Cookie     uint32
	// contains filtered or unexported fields
}

PolicyEntry is generated from the BPF C type policy_entry.

type PolicyKey

type PolicyKey struct {
	LPMKey struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	SecLabel uint32

	Protocol uint8
	DPort    uint16
	// contains filtered or unexported fields
}

PolicyKey is generated from the BPF C type policy_key.

type PolicyStatsKey

type PolicyStatsKey struct {
	EndpointID uint16
	Pad1       uint8
	PrefixLen  uint8
	SecLabel   uint32

	Protocol uint8
	DPort    uint16
	// contains filtered or unexported fields
}

PolicyStatsKey is generated from the BPF C type policy_stats_key.

type PolicyStatsValue

type PolicyStatsValue struct {
	Packets uint64
	Bytes   uint64
	// contains filtered or unexported fields
}

PolicyStatsValue is generated from the BPF C type policy_stats_value.

type PolicyVerdictNotify

type PolicyVerdictNotify struct {
	Type        uint8
	Subtype     uint8
	Source      uint16
	Hash        uint32
	LenOrig     uint32
	LenCap      uint16
	Version     uint8
	ExtVersion  uint8
	RemoteLabel uint32
	Verdict     int32
	DstPort     uint16
	Proto       uint8

	AuthType uint8
	Pad1     [3]uint8
	Cookie   uint32
	Pad2     uint32
	// contains filtered or unexported fields
}

PolicyVerdictNotify is generated from the BPF C type policy_verdict_notify.

type RatelimitKey

type RatelimitKey struct {
	Usage uint32
	Key   struct {
		ICMPv6 struct {
			NetdevIdx uint32
			// contains filtered or unexported fields
		}
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

RatelimitKey is generated from the BPF C type ratelimit_key.

type RatelimitMetricsKey

type RatelimitMetricsKey struct {
	Usage uint32
	// contains filtered or unexported fields
}

RatelimitMetricsKey is generated from the BPF C type ratelimit_metrics_key.

type RatelimitMetricsValue

type RatelimitMetricsValue struct {
	Dropped uint64
	// contains filtered or unexported fields
}

RatelimitMetricsValue is generated from the BPF C type ratelimit_metrics_value.

type RatelimitValue

type RatelimitValue struct {
	LastTopup uint64
	Tokens    uint64
	// contains filtered or unexported fields
}

RatelimitValue is generated from the BPF C type ratelimit_value.

type RemoteEndpointInfo

type RemoteEndpointInfo struct {
	SecIdentity    uint32
	TunnelEndpoint struct {
		IP4 struct {
			Addr [4]uint8
			// contains filtered or unexported fields
		}
		// contains filtered or unexported fields
	}
	Pad uint16
	Key uint8
	// contains filtered or unexported fields
}

RemoteEndpointInfo is generated from the BPF C type remote_endpoint_info.

type SNATV6Args

type SNATV6Args struct {
	Tuple struct {
		DAddr struct {
			Addr [16]uint8
			// contains filtered or unexported fields
		}
		SAddr struct {
			Addr [16]uint8
			// contains filtered or unexported fields
		}
		DPort   uint16
		SPort   uint16
		Nexthdr uint8
		Flags   uint8
		// contains filtered or unexported fields
	}

	Target struct {
		Addr struct {
			Addr [16]uint8
			// contains filtered or unexported fields
		}
		MinPort           uint16
		MaxPort           uint16
		FromLocalEndpoint bool
		NeedsCT           bool
		EgressGateway     bool

		IfIndex uint32
		Tbid    uint32
		// contains filtered or unexported fields
	}
	Trace struct {
		Reason uint8

		Monitor uint32
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

SNATV6Args is generated from the BPF C type snat_v6_args.

type SRv6PolicyKey4

type SRv6PolicyKey4 struct {
	LPM struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	VRFID   uint32
	DstCIDR uint32
	// contains filtered or unexported fields
}

SRv6PolicyKey4 is generated from the BPF C type srv6_policy_key4.

type SRv6PolicyKey6

type SRv6PolicyKey6 struct {
	LPM struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	VRFID   uint32
	DstCIDR struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

SRv6PolicyKey6 is generated from the BPF C type srv6_policy_key6.

type SRv6VRFKey4

type SRv6VRFKey4 struct {
	LPM struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	SrcIP   uint32
	DstCIDR uint32
	// contains filtered or unexported fields
}

SRv6VRFKey4 is generated from the BPF C type srv6_vrf_key4.

type SRv6VRFKey6

type SRv6VRFKey6 struct {
	LPM struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	SrcIP struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	DstCIDR struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

SRv6VRFKey6 is generated from the BPF C type srv6_vrf_key6.

type SkipLB4Key

type SkipLB4Key struct {
	NetNSCookie uint64
	Address     uint32
	Port        uint16
	Pad         uint16
	// contains filtered or unexported fields
}

SkipLB4Key is generated from the BPF C type skip_lb4_key.

type SkipLB6Key

type SkipLB6Key struct {
	NetNSCookie uint64
	Address     struct {
		Addr [16]uint8
		// contains filtered or unexported fields
	}
	Pad  uint32
	Port uint16
	Pad2 uint16
	// contains filtered or unexported fields
}

SkipLB6Key is generated from the BPF C type skip_lb6_key.

type SockCookie

type SockCookie uint64

SockCookie is generated from the BPF C type __sock_cookie.

type SubnetKey

type SubnetKey struct {
	LPMKey struct {
		Prefixlen uint32
		Data      [0]uint8
		// contains filtered or unexported fields
	}
	Pad0   uint16
	Pad1   uint8
	Family uint8
	IP4    struct {
		Addr [4]uint8
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

SubnetKey is generated from the BPF C type subnet_key.

type SubnetValue

type SubnetValue struct {
	Identity uint32
	// contains filtered or unexported fields
}

SubnetValue is generated from the BPF C type subnet_value.

type TraceNotify

type TraceNotify struct {
	Type       uint8
	Subtype    uint8
	Source     uint16
	Hash       uint32
	LenOrig    uint32
	LenCap     uint16
	Version    uint8
	ExtVersion uint8
	SrcLabel   uint32
	DstLabel   uint32
	DstID      uint16
	Reason     uint8
	Flags      uint8
	IfIndex    uint32
	OrigIP4    struct {
		Addr [4]uint8
		// contains filtered or unexported fields
	}

	IPTraceID uint64
	// contains filtered or unexported fields
}

TraceNotify is generated from the BPF C type trace_notify.

type TraceSockNotify

type TraceSockNotify struct {
	Type       uint8
	XlatePoint uint8
	L4Proto    uint8

	DstPort    uint16
	Pad2       uint16
	SockCookie uint64
	CgroupID   uint64
	DstIP      struct {
		IP4 struct {
			Addr [4]uint8
			// contains filtered or unexported fields
		}
		// contains filtered or unexported fields
	}
	// contains filtered or unexported fields
}

TraceSockNotify is generated from the BPF C type trace_sock_notify.

type U8

type U8 uint8

U8 is generated from the BPF C type __u8.

type U16

type U16 uint16

U16 is generated from the BPF C type __u16.

type U32

type U32 uint32

U32 is generated from the BPF C type __u32.

type U64

type U64 uint64

U64 is generated from the BPF C type __u64.

type V4Addr

type V4Addr struct {
	Addr [4]uint8
	// contains filtered or unexported fields
}

V4Addr is generated from the BPF C type v4addr.

type V6Addr

type V6Addr struct {
	Addr [16]uint8
	// contains filtered or unexported fields
}

V6Addr is generated from the BPF C type v6addr.

type VTEPKey

type VTEPKey struct {
	VTEPIP uint32
	// contains filtered or unexported fields
}

VTEPKey is generated from the BPF C type vtep_key.

type VTEPValue

type VTEPValue struct {
	VTEPMAC        uint64
	TunnelEndpoint uint32
	// contains filtered or unexported fields
}

VTEPValue is generated from the BPF C type vtep_value.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL