Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Enumerations | Functions | Variables
ccid.h File Reference
#include <net/sock.h>
#include <linux/compiler.h>
#include <linux/dccp.h>
#include <linux/list.h>
#include <linux/module.h>

Go to the source code of this file.

Data Structures

struct  ccid_operations
 
struct  ccid
 

Macros

#define CCID_MAX   255
 
#define CCID_SLAB_NAME_LENGTH   32
 

Enumerations

enum  ccid_dequeueing_decision {
  CCID_PACKET_SEND_AT_ONCE = 0x00000, CCID_PACKET_DELAY_MAX = 0x0FFFF, CCID_PACKET_DELAY = 0x10000, CCID_PACKET_WILL_DEQUEUE_LATER = 0x20000,
  CCID_PACKET_ERR = 0xF0000
}
 

Functions

int ccid_initialize_builtins (void)
 
void ccid_cleanup_builtins (void)
 
bool ccid_support_check (u8 const *ccid_array, u8 array_len)
 
int ccid_get_builtin_ccids (u8 **ccid_array, u8 *array_len)
 
int ccid_getsockopt_builtin_ccids (struct sock *sk, int len, char __user *, int __user *)
 
struct ccidccid_new (const u8 id, struct sock *sk, bool rx)
 
void ccid_hc_rx_delete (struct ccid *ccid, struct sock *sk)
 
void ccid_hc_tx_delete (struct ccid *ccid, struct sock *sk)
 

Variables

struct ccid_operations ccid2_ops
 

Macro Definition Documentation

#define CCID_MAX   255

Definition at line 23 of file ccid.h.

#define CCID_SLAB_NAME_LENGTH   32

Definition at line 24 of file ccid.h.

Enumeration Type Documentation

Enumerator:
CCID_PACKET_SEND_AT_ONCE 
CCID_PACKET_DELAY_MAX 
CCID_PACKET_DELAY 
CCID_PACKET_WILL_DEQUEUE_LATER 
CCID_PACKET_ERR 

Definition at line 147 of file ccid.h.

Function Documentation

void ccid_cleanup_builtins ( void  )

Definition at line 216 of file ccid.c.

int ccid_get_builtin_ccids ( u8 **  ccid_array,
u8 array_len 
)

ccid_get_builtin_ccids - Populate a list of built-in CCIDs : pointer to copy into : value to return length into

This function allocates memory - caller must see that it is freed after use.

Definition at line 52 of file ccid.c.

int ccid_getsockopt_builtin_ccids ( struct sock sk,
int  len,
char __user ,
int __user  
)

Definition at line 63 of file ccid.c.

void ccid_hc_rx_delete ( struct ccid ccid,
struct sock sk 
)

Definition at line 177 of file ccid.c.

void ccid_hc_tx_delete ( struct ccid ccid,
struct sock sk 
)

Definition at line 186 of file ccid.c.

int ccid_initialize_builtins ( void  )

Definition at line 195 of file ccid.c.

struct ccid* ccid_new ( const u8  id,
struct sock sk,
bool  rx 
)
read

Definition at line 144 of file ccid.c.

bool ccid_support_check ( u8 const ccid_array,
u8  array_len 
)

Definition at line 37 of file ccid.c.

Variable Documentation

Definition at line 767 of file ccid2.c.