Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func FillPacketListFromDataWithCustomAlloc ¶
func FillPacketListFromDataWithCustomAlloc( packetList *PacketList, alloc *Alloc, data ...PacketData, ) error
func Free ¶
func Free(pf *PacketFront)
Types ¶
type Packet ¶
type Packet C.struct_packet
func NewPacketFromData ¶
func NewPacketFromData( data PacketData, pinner *runtime.Pinner, ) (*Packet, error)
func (*Packet) Data ¶
func (packet *Packet) Data() PacketData
func (*Packet) Info ¶
func (packet *Packet) Info() *framework.PacketInfo
type PacketData ¶
type PacketFront ¶
type PacketFront C.struct_packet_front
func (*PacketFront) DropList ¶
func (pf *PacketFront) DropList() *PacketList
func (*PacketFront) InputList ¶
func (pf *PacketFront) InputList() *PacketList
func (*PacketFront) OutputList ¶
func (pf *PacketFront) OutputList() *PacketList
type PacketList ¶
type PacketList C.struct_packet_list
func NewPacketList ¶
func NewPacketList(packets ...Packet) PacketList
func NewPacketListFromData ¶
func NewPacketListFromData(data ...PacketData) (*PacketList, error)
func (*PacketList) Add ¶
func (packetList *PacketList) Add(packet *Packet)
func (*PacketList) Free ¶
func (packetList *PacketList) Free()
func (*PacketList) Iter ¶
func (packetList *PacketList) Iter() *PacketListIter
type PacketListIter ¶
type PacketListIter struct {
// contains filtered or unexported fields
}
func (*PacketListIter) Next ¶
func (iter *PacketListIter) Next() *Packet
Click to show internal directories.
Click to hide internal directories.