Linux Kernel
3.7.1
|
#include <linux/spinlock.h>
#include <linux/netdevice.h>
#include <net/caif/caif_layer.h>
#include <net/caif/cfctrl.h>
Go to the source code of this file.
Enumerations | |
enum | cfcnfg_phy_preference { CFPHYPREF_UNSPECIFIED, CFPHYPREF_LOW_LAT, CFPHYPREF_HIGH_BW, CFPHYPREF_LOOP } |
Functions | |
struct cfcnfg * | get_cfcnfg (struct net *net) |
struct cfcnfg * | cfcnfg_create (void) |
void | cfcnfg_remove (struct cfcnfg *cfg) |
void | cfcnfg_add_phy_layer (struct cfcnfg *cnfg, struct net_device *dev, struct cflayer *phy_layer, enum cfcnfg_phy_preference pref, struct cflayer *link_support, bool fcs, int head_room) |
int | cfcnfg_del_phy_layer (struct cfcnfg *cnfg, struct cflayer *phy_layer) |
int | cfcnfg_set_phy_state (struct cfcnfg *cnfg, struct cflayer *phy_layer, bool up) |
void cfcnfg_add_phy_layer | ( | struct cfcnfg * | cnfg, |
struct net_device * | dev, | ||
struct cflayer * | phy_layer, | ||
enum cfcnfg_phy_preference | pref, | ||
struct cflayer * | link_support, | ||
bool | fcs, | ||
int | head_room | ||
) |
cfcnfg_add_phy_layer() - Adds a physical layer to the CAIF stack. : Pointer to a CAIF configuration object, created by cfcnfg_create(). : Pointer to link layer device : Specify the physical layer. The transmit function MUST be set in the structure. : The phy (link layer) preference. : Protocol implementation for link layer specific protocol. : Specify if checksum is used in CAIF Framing Layer. : Head space needed by link specific protocol.
cfcnfg_create() - Create the CAIF configuration object.
cfcnfg_del_phy_layer - Deletes an phy layer from the CAIF stack.
: Pointer to a CAIF configuration object, created by cfcnfg_create(). : Adaptation layer to be removed.
cfcnfg_remove() - Remove the CFCNFG object : config object
cfcnfg_set_phy_state() - Set the state of the physical interface device. : Configuration object : Physical Layer representation : State of device
cfcnfg_create() - Get the CAIF configuration object given network. : Network for the CAIF configuration object.
Definition at line 57 of file caif_dev.c.