Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var BPF_INNER_MAP_DATA_LEN = uint32(C.BPF_INNER_MAP_DATA_LEN)
View Source
var KMESH_TAIL_CALL_CLUSTER = uint32(C.KMESH_TAIL_CALL_CLUSTER)
View Source
var KMESH_TAIL_CALL_FILTER = uint32(C.KMESH_TAIL_CALL_FILTER)
View Source
var KMESH_TAIL_CALL_FILTER_CHAIN = uint32(C.KMESH_TAIL_CALL_FILTER_CHAIN)
View Source
var KMESH_TAIL_CALL_LISTENER = uint32(C.KMESH_TAIL_CALL_LISTENER)
View Source
var KMESH_TAIL_CALL_ROUTER = uint32(C.KMESH_TAIL_CALL_ROUTER)
View Source
var KMESH_TAIL_CALL_ROUTER_CONFIG = uint32(C.KMESH_TAIL_CALL_ROUTER_CONFIG)
Functions ¶
func AdsL7Enabled ¶
func AdsL7Enabled() bool
Types ¶
type BpfInfo ¶
type BpfInfo struct {
MapPath string
BpfFsPath string
Cgroup2Path string
Type ebpf.ProgramType
AttachType ebpf.AttachType
}
type BpfSockConn ¶
type BpfSockConn struct {
Info BpfInfo
Link link.Link
bpf2go.KmeshCgroupSockObjects
}
func (*BpfSockConn) Attach ¶
func (sc *BpfSockConn) Attach() error
func (*BpfSockConn) Detach ¶
func (sc *BpfSockConn) Detach() error
func (*BpfSockConn) Load ¶
func (sc *BpfSockConn) Load() error
Click to show internal directories.
Click to hide internal directories.