Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Macros | Functions
if_alg.h File Reference
#include <linux/compiler.h>
#include <linux/completion.h>
#include <linux/if_alg.h>
#include <linux/scatterlist.h>
#include <linux/types.h>
#include <net/sock.h>

Go to the source code of this file.

Data Structures

struct  alg_sock
 
struct  af_alg_completion
 
struct  af_alg_control
 
struct  af_alg_type
 
struct  af_alg_sgl
 

Macros

#define ALG_MAX_PAGES   16
 

Functions

int af_alg_register_type (const struct af_alg_type *type)
 
int af_alg_unregister_type (const struct af_alg_type *type)
 
int af_alg_release (struct socket *sock)
 
int af_alg_accept (struct sock *sk, struct socket *newsock)
 
int af_alg_make_sg (struct af_alg_sgl *sgl, void __user *addr, int len, int write)
 
void af_alg_free_sg (struct af_alg_sgl *sgl)
 
int af_alg_cmsg_send (struct msghdr *msg, struct af_alg_control *con)
 
int af_alg_wait_for_completion (int err, struct af_alg_completion *completion)
 
void af_alg_complete (struct crypto_async_request *req, int err)
 

Macro Definition Documentation

#define ALG_MAX_PAGES   16

Definition at line 23 of file if_alg.h.

Function Documentation

int af_alg_accept ( struct sock sk,
struct socket newsock 
)

Definition at line 225 of file af_alg.c.

int af_alg_cmsg_send ( struct msghdr msg,
struct af_alg_control con 
)

Definition at line 396 of file af_alg.c.

void af_alg_complete ( struct crypto_async_request req,
int  err 
)

Definition at line 446 of file af_alg.c.

void af_alg_free_sg ( struct af_alg_sgl sgl)

Definition at line 385 of file af_alg.c.

int af_alg_make_sg ( struct af_alg_sgl sgl,
void __user addr,
int  len,
int  write 
)

Definition at line 339 of file af_alg.c.

int af_alg_register_type ( const struct af_alg_type type)

Definition at line 61 of file af_alg.c.

int af_alg_release ( struct socket sock)

Definition at line 119 of file af_alg.c.

int af_alg_unregister_type ( const struct af_alg_type type)

Definition at line 89 of file af_alg.c.

int af_alg_wait_for_completion ( int  err,
struct af_alg_completion completion 
)

Definition at line 431 of file af_alg.c.