#include <linux/kernel.h>
#include <linux/types.h>
#include <linux/errno.h>
#include <linux/slab.h>
#include <linux/module.h>
#include <linux/pkt_sched.h>
#include <net/caif/caif_layer.h>
#include <net/caif/cfsrvl.h>
#include <net/caif/cfpkt.h>
Go to the source code of this file.
#define pr_fmt |
( |
|
fmt | ) |
KBUILD_MODNAME ":%s(): " fmt, __func__ |
#define SRVL_CTRL_PKT_SIZE 1 |
#define SRVL_CTRL_PKT_SIZE 1 |
#define SRVL_FLOW_OFF 0x81 |
#define SRVL_FLOW_ON 0x80 |
#define SRVL_SET_PIN 0x82 |
caif_client_register_refcnt - register ref-count functions provided by client.
: Client layer using CAIF Stack. : Function provided by client layer increasing ref-count : Function provided by client layer decreasing ref-count
Client of the CAIF Stack must register functions for reference counting. These functions are called by the CAIF Stack for every upstream packet, and must therefore be implemented efficiently.
Client should call caif_free_client when reference count degrease to zero.
Definition at line 209 of file cfsrvl.c.
caif_free_client - Free memory used to manage the client in the CAIF Stack.
: Client layer to be removed.
This function must be called from client layer in order to free memory. Caller must guarantee that no packets are in flight upstream when calling this function.
Definition at line 199 of file cfsrvl.c.