Linux Kernel  3.7.1
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Data Structures | Functions
sock_diag.h File Reference
#include <uapi/linux/sock_diag.h>

Go to the source code of this file.

Data Structures

struct  sock_diag_handler
 

Functions

int sock_diag_register (const struct sock_diag_handler *h)
 
void sock_diag_unregister (const struct sock_diag_handler *h)
 
void sock_diag_register_inet_compat (int(*fn)(struct sk_buff *skb, struct nlmsghdr *nlh))
 
void sock_diag_unregister_inet_compat (int(*fn)(struct sk_buff *skb, struct nlmsghdr *nlh))
 
int sock_diag_check_cookie (void *sk, __u32 *cookie)
 
void sock_diag_save_cookie (void *sk, __u32 *cookie)
 
int sock_diag_put_meminfo (struct sock *sk, struct sk_buff *skb, int attr)
 

Function Documentation

int sock_diag_check_cookie ( void sk,
__u32 cookie 
)

Definition at line 16 of file sock_diag.c.

int sock_diag_put_meminfo ( struct sock sk,
struct sk_buff skb,
int  attr 
)

Definition at line 35 of file sock_diag.c.

int sock_diag_register ( const struct sock_diag_handler h)

Definition at line 68 of file sock_diag.c.

void sock_diag_register_inet_compat ( int(*)(struct sk_buff *skb, struct nlmsghdr *nlh)  fn)

Definition at line 52 of file sock_diag.c.

void sock_diag_save_cookie ( void sk,
__u32 cookie 
)

Definition at line 28 of file sock_diag.c.

void sock_diag_unregister ( const struct sock_diag_handler h)

Definition at line 86 of file sock_diag.c.

void sock_diag_unregister_inet_compat ( int(*)(struct sk_buff *skb, struct nlmsghdr *nlh)  fn)

Definition at line 60 of file sock_diag.c.