Versions in this module Expand all Collapse all v0 v0.10.0 Jul 21, 2017 Changes in this version + const EndpointFlagHost + func AddHostEntry(ip net.IP) error + func DeleteElement(f EndpointFrontend) int + func WriteEndpoint(f EndpointFrontend) error + type EndpointFrontend interface + GetBPFKeys func() []EndpointKey + GetBPFValue func() (*EndpointInfo, error) + type EndpointInfo struct + Flags uint32 + IfIndex uint32 + LxcID uint16 + MAC MAC + NodeMAC MAC + PortMap [PortMapMax]PortMap + SecLabelID uint16 + V6Addr types.IPv6 + func (v EndpointInfo) GetValuePtr() unsafe.Pointer + func (v EndpointInfo) String() string + type EndpointKey struct + func NewEndpointKey(ip net.IP) EndpointKey + func (k EndpointKey) GetKeyPtr() unsafe.Pointer + func (k EndpointKey) NewValue() bpf.MapValue v0.9.0 May 30, 2017 Changes in this version type LXCMap + Mutex sync.Mutex v0.9.0-rc1 May 24, 2017 v0.8.2 Apr 14, 2017 v0.8.1 Apr 6, 2017 v0.8.0 Mar 28, 2017 Changes in this version + const MapName + const MaxKeys + const PortMapMax + type LXCInfo struct + IfIndex uint32 + LxcID uint16 + MAC MAC + NodeMAC MAC + PortMap [PortMapMax]PortMap + SecLabelID uint16 + V6Addr v6Addr + func (lxc LXCInfo) String() string + type LXCMap struct + func OpenMap() (*LXCMap, error) + func (m *LXCMap) DeleteElement(ep *endpoint.Endpoint) error + func (m *LXCMap) WriteEndpoint(ep *endpoint.Endpoint) error + type MAC uint64 + func ParseMAC(s string) (MAC, error) + func (m MAC) String() string + type PortMap struct + From uint16 + To uint16 + func (pm PortMap) String() string