Trait network_packet::IncomingNetworkPacket[][src]

Represents an incoming packet of contiguous data from a network card, with the Frame Check Sequence (FCS) (also known as Cyclic Redundancy Check, CRC) omitted.

Required Methods

Optimized routine that only works on direct, contiguous packets with a reference count of 1.

Packet length if contiguous.

Same as data_length() for DPDK.

Offset into data, returned as a non-null pointer.

No length checks are made, although in debug builds an assertion may check.

A DPDK implementation would be a wrapper around rte_pktmbuf_mtod and rte_pktmbuf_mtod_offset.

Compare with DPDK's io_virtual_address_offset().

A network driver may support hardware offload categorisation of an incoming network packet.

This provides access to its categorisation, which can be used for short-circuiting some packet analysis.

Hardware offload features need to be used with caution as they vary widely amongst vendors and their is no way to validate the quality of code they rely upon.

A network driver may support hardware offload categorisation of an incoming network packet.

This provides access to its categorisation, which can be used for short-circuiting some packet analysis.

Hardware offload features need to be used with caution as they vary widely amongst vendors and their is no way to validate the quality of code they rely upon.

A network driver may support hardware offload categorisation of an incoming network packet.

This provides access to its categorisation, which can be used for short-circuiting some packet analysis.

Hardware offload features need to be used with caution as they vary widely amongst vendors and their is no way to validate the quality of code they rely upon.

A network driver may support hardware offload categorisation of an incoming network packet.

This provides access to its categorisation, which can be used for short-circuiting some packet analysis.

Hardware offload features need to be used with caution as they vary widely amongst vendors and their is no way to validate the quality of code they rely upon.

A network driver may support hardware offload categorisation of an incoming network packet which is for a tunnel.

This provides access to a tunnel packet's inner categorisation, which can be used for short-circuiting some packet analysis.

Hardware offload features need to be used with caution as they vary widely amongst vendors and their is no way to validate the quality of code they rely upon.

A network driver may support hardware offload categorisation of an incoming network packet which is for a tunnel.

This provides access to a tunnel packet's inner categorisation, which can be used for short-circuiting some packet analysis.

Hardware offload features need to be used with caution as they vary widely amongst vendors and their is no way to validate the quality of code they rely upon.

A network driver may support hardware offload categorisation of an incoming network packet which is for a tunnel.

This provides access to a tunnel packet's inner categorisation, which can be used for short-circuiting some packet analysis.

Hardware offload features need to be used with caution as they vary widely amongst vendors and their is no way to validate the quality of code they rely upon.

Determines the internet protocol (IP) version 4 check sum status.

Determines the layer 4 (TCP, UDP, SCTP) check sum check sum status.

Hardware offloading categorisation indicates an unwanted packet.

Provided Methods

Offset into data, returned as a reference.

No length checks are made, although in debug builds an assertion may check.

Implementors