Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func DetachXDPFromAllInterfaces ¶
func DetachXDPFromAllInterfaces() error
DetachXDPFromAllInterfaces detaches XDP from all interfaces on the system.
func GetInterfaceIndex ¶
GetInterfaceIndex returns the interface index of the interface with the given name.
func GetInterfaceIndices ¶
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.
func GetInterfacesWithXDPAttached ¶
GetInterfacesWithXDPAttached with XDP attached
func IsValidInterfaceNameAndState ¶
IsValidInterfaceNameAndState check if interface name is valid, interface state is UP and its not loopback interface
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.