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

#include <caif_device.h>

Data Fields

void(* flowctrl )(struct net_device *net, int on)
 
enum caif_link_selector link_select
 
int use_frag
 
int use_fcs
 
int use_stx
 

Detailed Description

struct caif_dev_common - data shared between CAIF drivers and stack. : Flow Control callback function. This function is supplied by CAIF Core Stack and is used by CAIF Link Layer to send flow-stop to CAIF Core. The flow information will be distributed to all clients of CAIF.

: Profile of device, either high-bandwidth or low-latency. This member is set by CAIF Link Layer Device in order to indicate if this device is a high bandwidth or low latency device.

: CAIF Frames may be fragmented. Is set by CAIF Link Layer in order to indicate if the interface receives fragmented frames that must be assembled by CAIF Core Layer.

: Indicate if Frame CheckSum (fcs) is used. Is set if the physical interface is using Frame Checksum on the CAIF Frames.

: Indicate STart of frame eXtension (stx) in use. Is set if the CAIF Link Layer expects CAIF Frames to start with the STX byte.

This structure is shared between the CAIF drivers and the CAIF stack. It is used by the device to register its behavior. CAIF Core layer must set the member flowctrl in order to supply CAIF Link Layer with the flow control function.

Definition at line 47 of file caif_device.h.

Field Documentation

void(* flowctrl)(struct net_device *net, int on)

Definition at line 48 of file caif_device.h.

enum caif_link_selector link_select

Definition at line 49 of file caif_device.h.

int use_fcs

Definition at line 51 of file caif_device.h.

int use_frag

Definition at line 50 of file caif_device.h.

int use_stx

Definition at line 52 of file caif_device.h.


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