Documentation
¶
Index ¶
- Constants
- type NetData
- type Objects
- func (o *Objects) AddDNATTarget(key uint16, ip net.IP, ifaceIdx uint8, mac net.HardwareAddr) error
- func (o *Objects) AddNetData(data NetData) error
- func (o *Objects) AddSNATTarget(key uint8, ip net.IP, ifaceIdx uint8) error
- func (o *Objects) AddVethPairEntry(veth VethPair) error
- func (o *Objects) AttachAndPinARP(iface *net.Interface) error
- func (o *Objects) AttachAndPinDNAT(iface *net.Interface) error
- func (o *Objects) AttachAndPinGetsockopt(cgroupPath string) error
- func (o *Objects) AttachAndPinSNAT(iface *net.Interface) error
- func (o *Objects) AttachTProxyCtrEgress(ctrPeer *net.Interface) error
- func (o *Objects) AttachTProxyHostEgress(hostPeer *net.Interface) error
- func (o *Objects) DelDNATTarget(port uint16) error
- func (o *Objects) DelNetData(data NetData) error
- func (o *Objects) DelSNATTarget(key uint8) error
- func (o *Objects) DelVethPairEntry(veth VethPair) error
- func (o *Objects) GetNetData(port uint16) (NetData, error)
- type VethPair
- type VethPeer
Constants ¶
View Source
const (
ProgPinPath = "/sys/fs/bpf/progs"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Objects ¶
type Objects struct {
// contains filtered or unexported fields
}
func (*Objects) AddDNATTarget ¶
func (*Objects) AddNetData ¶
func (*Objects) AddSNATTarget ¶
func (*Objects) AddVethPairEntry ¶
func (*Objects) AttachAndPinGetsockopt ¶
func (*Objects) AttachTProxyCtrEgress ¶
func (*Objects) AttachTProxyHostEgress ¶
func (*Objects) DelDNATTarget ¶
func (*Objects) DelNetData ¶
func (*Objects) DelSNATTarget ¶
func (*Objects) DelVethPairEntry ¶
Click to show internal directories.
Click to hide internal directories.