Linux Kernel
3.7.1
|
#include <asm/registers.h>
Go to the source code of this file.
Data Structures | |
struct | sigcontext |
Functions | |
struct sigcontext | __attribute__ ((aligned(8))) |
Packet vector entry. | |
Variables | |
struct user_context | sc_context |
unsigned long | sc_oldmask |
|
read |
Packet vector entry.
This data structure is used with netio_send_packet_vector() to send multiple packets with one NetIO call. The structure should be initialized by calling netio_pkt_vector_set(), rather than by setting the fields directly.
This structure is guaranteed to be a power of two in size, no bigger than one L2 cache line, and to be aligned modulo its size.
Reserved for use by the user application. When initialized with the netio_set_pkt_vector_entry() function, this field is guaranteed to be visible to readers only after all other fields are already visible. This way it can be used as a valid flag or generation counter.
Low 8 bits of the packet address to send. The high bits are acquired from the 'handle' field.
Number of bytes to transmit.
The raw handle from a netio_pkt_t. If this is NETIO_PKT_HANDLE_NONE, this vector entry will be skipped and no packet will be transmitted.
struct user_context sc_context |
Definition at line 25 of file sigcontext.h.
unsigned long sc_oldmask |
Definition at line 26 of file sigcontext.h.