iPXE
Data Fields
xfer_metadata Struct Reference

Data transfer metadata. More...

#include <xfer.h>

Data Fields

unsigned int flags
 Flags. More...
 
off_t offset
 Offset of data within stream. More...
 
struct sockaddrsrc
 Source socket address, or NULL. More...
 
struct sockaddrdest
 Destination socket address, or NULL. More...
 
struct net_devicenetdev
 Network device, or NULL. More...
 

Detailed Description

Data transfer metadata.

Definition at line 22 of file xfer.h.

Field Documentation

◆ flags

unsigned int xfer_metadata::flags

Flags.

This is the bitwise OR of zero or more XFER_FL_XXX constants.

Definition at line 28 of file xfer.h.

Referenced by fc_xchg_rx(), and peerblk_deliver().

◆ offset

off_t xfer_metadata::offset

Offset of data within stream.

This is an absolute offset if the XFER_FL_ABS_OFFSET flag is set, otherwise a relative offset. (A freshly zeroed xfer_metadata structure therefore represents a relative offset of zero, i.e. no offset from the current position.)

Definition at line 37 of file xfer.h.

Referenced by fc_xchg_rx(), and peerblk_deliver().

◆ src

struct sockaddr* xfer_metadata::src

Source socket address, or NULL.

Definition at line 39 of file xfer.h.

Referenced by fc_xchg_rx().

◆ dest

struct sockaddr* xfer_metadata::dest

Destination socket address, or NULL.

Definition at line 41 of file xfer.h.

Referenced by fc_xchg_rx().

◆ netdev

struct net_device* xfer_metadata::netdev

Network device, or NULL.

Definition at line 43 of file xfer.h.


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