# Functions
DefaultNetlinkOps returns a standard implementation of NetlinkOps that performs the corresponding operations via standard netlink calls.
FilterBySandbox returns scans the provided list of interfaces and returns two lists: the first are a list of interfaces with the provided sandboxID, the second are the other interfaces not in that sandboxID.
IfacesWithName scans the provided list of ifaces and returns the ones with the provided name.
InterfaceIPs returns the IPs associated with the interface possessing the provided name and sandbox.
RootFilterHandle returns a u32 filter handle representing the root of the Qdisc.
VMTapPair takes a CNI result and returns the vm iface and the tap iface corresponding to the provided vmID.
# Structs
No description provided by the author
No description provided by the author
MockLink provides a mocked out netlink.Link implementation.
MockNetlinkOps provides a no-op implementation of the NetlinkOps interface.
MockNetNS provides a mocked out ns.NetNS implementation that just executes callbacks in the host netns (to avoid permissions issues that require root to resolve).
No description provided by the author
# Interfaces
NetlinkOps is an interface to the underlying low-level netlink operations that need to be performed by the tc-redirect-tap plugin.