package
0.0.0-20241015032854-801e9f0f419b
Repository: https://github.com/openshift/ingress-node-firewall.git
Documentation: pkg.go.dev

# Functions

DetachXDPFromAllInterfaces detaches XDP from all interfaces on the system.
GetInterfaceIndex returns the interface index of the interface with the given name.
GetInterfaceIndices return one or more interface index based on the interface type Note: for bond interfaces we attach XDP to the bond interface but the xdp packets will be using bond member's interface_indices not the bond interface_index.
GetInterfacesWithXDPAttached with XDP attached.
IsValidInterfaceNameAndState check if interface name is valid, interface state is UP and its not loopback interface.