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

Go to the source code of this file.

Data Structures

struct  inet_diag_handler
 

Functions

int inet_sk_diag_fill (struct sock *sk, struct inet_connection_sock *icsk, struct sk_buff *skb, struct inet_diag_req_v2 *req, struct user_namespace *user_ns, u32 pid, u32 seq, u16 nlmsg_flags, const struct nlmsghdr *unlh)
 
void inet_diag_dump_icsk (struct inet_hashinfo *h, struct sk_buff *skb, struct netlink_callback *cb, struct inet_diag_req_v2 *r, struct nlattr *bc)
 
int inet_diag_dump_one_icsk (struct inet_hashinfo *hashinfo, struct sk_buff *in_skb, const struct nlmsghdr *nlh, struct inet_diag_req_v2 *req)
 
int inet_diag_bc_sk (const struct nlattr *_bc, struct sock *sk)
 
int inet_diag_register (const struct inet_diag_handler *handler)
 
void inet_diag_unregister (const struct inet_diag_handler *handler)
 

Function Documentation

int inet_diag_bc_sk ( const struct nlattr _bc,
struct sock sk 
)

Definition at line 476 of file inet_diag.c.

void inet_diag_dump_icsk ( struct inet_hashinfo h,
struct sk_buff skb,
struct netlink_callback cb,
struct inet_diag_req_v2 r,
struct nlattr bc 
)

Definition at line 822 of file inet_diag.c.

int inet_diag_dump_one_icsk ( struct inet_hashinfo hashinfo,
struct sk_buff in_skb,
const struct nlmsghdr nlh,
struct inet_diag_req_v2 req 
)

Definition at line 277 of file inet_diag.c.

int inet_diag_register ( const struct inet_diag_handler handler)

Definition at line 1124 of file inet_diag.c.

void inet_diag_unregister ( const struct inet_diag_handler handler)

Definition at line 1144 of file inet_diag.c.

int inet_sk_diag_fill ( struct sock sk,
struct inet_connection_sock icsk,
struct sk_buff skb,
struct inet_diag_req_v2 req,
struct user_namespace user_ns,
u32  pid,
u32  seq,
u16  nlmsg_flags,
const struct nlmsghdr unlh 
)

Definition at line 74 of file inet_diag.c.