Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Fields
netio_pkt_minimal_metadata_t Struct Reference

Ethernet minimal (egress) packet metadata. More...

#include <netio_intf.h>

Data Fields

unsigned short l2_offset
 
unsigned short l3_offset
 
unsigned char csum_location
 
unsigned char csum_start
 
unsigned short flags
 
unsigned short l2_length
 
unsigned short csum_seed
 
unsigned short csum_length
 

Detailed Description

Ethernet minimal (egress) packet metadata.

This structure represents information about packets which have been processed by netio_populate_buffer() or netio_populate_prepend_buffer(). This structure is opaque and accessed through the egress.

Definition at line 384 of file netio_intf.h.

Field Documentation

unsigned short csum_length

How much to checksum.

Definition at line 405 of file netio_intf.h.

unsigned char csum_location

Where to write the checksum.

Definition at line 395 of file netio_intf.h.

unsigned short csum_seed

The checksum with which to seed the checksum generator.

Definition at line 403 of file netio_intf.h.

unsigned char csum_start

Where to start checksumming from.

Definition at line 397 of file netio_intf.h.

unsigned short flags

Flags pertaining to checksum calculation etc.

Definition at line 399 of file netio_intf.h.

unsigned short l2_length

The L2 length of the packet.

Definition at line 401 of file netio_intf.h.

unsigned short l2_offset

The offset of the L2 header from the start of the packet data.

Definition at line 391 of file netio_intf.h.

unsigned short l3_offset

The offset of the L3 header from the start of the packet data.

Definition at line 393 of file netio_intf.h.


The documentation for this struct was generated from the following file: