Versions in this module Expand all Collapse all v1 v1.2.0 May 13, 2023 Changes in this version + const SO_BUSY_POLL + const SO_BUSY_POLL_BUDGET + const SO_PREFER_BUSY_POLL + const XDP_IFACE_DEFAULT + const XDP_IFACE_XDP_PROG_DEFAULT + const XDP_LOG_CRITICAL + const XDP_LOG_DEBUG + const XDP_LOG_ERROR + const XDP_LOG_INFO + const XDP_LOG_LVLS + const XDP_LOG_TRACE + const XDP_LOG_WARNING + const XDP_SOCK_XSKS_MAP_DEFAULT + func XdpLogLevelSet(level int) + type XdpIface struct + func XdpIfaceNew(xdpInterface string) (*XdpIface, error) + func (self XdpIface) Destroy() + func (self XdpIface) LoadProgram(xdpProgPath string) error + func (self XdpIface) UnloadProgram() + type XdpSock struct + func XdpSockNew(xdpInterface *XdpIface) (*XdpSock, error) + func (self XdpSock) Destroy() + func (self XdpSock) GetFd() (int, error) + func (self XdpSock) LoopUpBpfMap(xdpInterface *XdpIface, mapName string, key_size uint32, value_size uint32) error + func (self XdpSock) Recv(buffer []byte, bufferSize *int) error + func (self XdpSock) RxBatchGetSize(framesRecvd *uint32, batchSize uint32) error + func (self XdpSock) RxBatchRelease(framesRecvd uint32) error + func (self XdpSock) Send(buffer []byte, bufferSize int) error + func (self XdpSock) SetSockopt(optType int, optValue int) error + func (self XdpSock) TxBatchRelease(framesSend uint32) error + func (self XdpSock) TxBatchSetSize(batchSize uint32) error