IOUserNetworkPacket
A network packet containing the data for your driver to process.
Declaration
class IOUserNetworkPacket;Overview
An IOUserNetworkPacket contains meta information about a network packet being trasmitted to or from your device. You do not create network packets directly. Instead, you dequeue them from an appropriate submission queue, such as an IOUserNetworkRxSubmissionQueue. You a packet object to get the length of the packet data and the location of that data in its memory buffer, accommodating for any extra headroom bytes at the beginning of the packet.
Topics
Configuring the Network Packet
Configuring the Packet State Information
Getting the Packet Information
Getting the Packet’s Buffer Pool
Instance Methods
clearTimestampgetDataIOVirtualAddressgetDataLengthgetDataOffgetDataOffsetgetDataVirtualAddressgetExpiryTimegetLinkHeaderLengthgetMSSgetMemorySegmentOffsetgetPacketBufferPoolgetRxChecksumInfogetServiceClassgetTSOInfogetTimestampgetTraceIDgetTxChecksumInfogetTxCsumFlagsgetVlanTaginitWithPoolisLinkBroadcastisLinkMulticastisTimestampRequestedisTransportTrafficBackgroundisTransportTrafficRealtimeprepareWithQueuesetCompletionStatussetDataLengthsetDataOffsetDataOffAndLensetDataOffsetsetDataOffsetAndLengthsetIsLinkMulticastsetLROInfosetLinkHeaderLengthsetRxChecksumInfosetTimestampsetVlanTagsetWakeFlagtraceEvent