Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
ccid.c File Reference
#include <linux/slab.h>
#include "ccid.h"
#include "ccids/lib/tfrc.h"

Go to the source code of this file.

Functions

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 *optval, int __user *optlen)
 
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)
 
int __init ccid_initialize_builtins (void)
 
void ccid_cleanup_builtins (void)
 

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 optval,
int __user optlen 
)

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 __init 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.