Logo Search packages:      
Sourcecode: libnl2 version File versions  Download package

Queue
[Netfilter Netlink]


Attributes

static struct trans_tbl nfnl_queue_attrs []
static char * nfnl_queue_attrs2str (int attrs, char *buf, size_t len)
static int nfnl_queue_compare (struct nl_object *_a, struct nl_object *_b, uint32_t attrs, int flags)
enum nfnl_queue_copy_mode nfnl_queue_get_copy_mode (const struct nfnl_queue *queue)
uint32_t nfnl_queue_get_copy_range (const struct nfnl_queue *queue)
uint16_t nfnl_queue_get_group (const struct nfnl_queue *queue)
uint32_t nfnl_queue_get_maxlen (const struct nfnl_queue *queue)
void nfnl_queue_set_copy_mode (struct nfnl_queue *queue, enum nfnl_queue_copy_mode mode)
void nfnl_queue_set_copy_range (struct nfnl_queue *queue, uint32_t copy_range)
void nfnl_queue_set_group (struct nfnl_queue *queue, uint16_t group)
void nfnl_queue_set_maxlen (struct nfnl_queue *queue, uint32_t maxlen)
int nfnl_queue_test_copy_mode (const struct nfnl_queue *queue)
int nfnl_queue_test_copy_range (const struct nfnl_queue *queue)
int nfnl_queue_test_group (const struct nfnl_queue *queue)
int nfnl_queue_test_maxlen (const struct nfnl_queue *queue)

Queue Commands

static int build_queue_cmd_request (uint8_t family, uint16_t queuenum, uint8_t command, struct nl_msg **result)
int nfnl_queue_build_change_request (const struct nfnl_queue *queue, struct nl_msg **result)
int nfnl_queue_build_create_request (const struct nfnl_queue *queue, struct nl_msg **result)
int nfnl_queue_build_delete_request (const struct nfnl_queue *queue, struct nl_msg **result)
int nfnl_queue_build_pf_bind (uint8_t pf, struct nl_msg **result)
int nfnl_queue_build_pf_unbind (uint8_t pf, struct nl_msg **result)
static int nfnl_queue_build_request (const struct nfnl_queue *queue, struct nl_msg **result)
int nfnl_queue_change (struct nl_sock *nlh, const struct nfnl_queue *queue)
int nfnl_queue_create (struct nl_sock *nlh, const struct nfnl_queue *queue)
int nfnl_queue_delete (struct nl_sock *nlh, const struct nfnl_queue *queue)
int nfnl_queue_pf_bind (struct nl_sock *nlh, uint8_t pf)
int nfnl_queue_pf_unbind (struct nl_sock *nlh, uint8_t pf)

Allocation/Freeing

struct nfnl_queue * nfnl_queue_alloc (void)
void nfnl_queue_get (struct nfnl_queue *queue)
void nfnl_queue_put (struct nfnl_queue *queue)

Functions

char * nfnl_queue_copy_mode2str (enum nfnl_queue_copy_mode copy_mode, char *buf, size_t len)
static void nfnl_queue_dump (struct nl_object *a, struct nl_dump_params *p)
static void __exit nfnl_queue_exit (void)
static void __init nfnl_queue_init (void)
struct nl_sock * nfnl_queue_socket_alloc (void)
enum nfnl_queue_copy_mode nfnl_queue_str2copy_mode (const char *name)
int nfnlmsg_queue_msg_parse (struct nlmsghdr *nlh, struct nfnl_queue_msg **result)
static uint64_t ntohll (uint64_t x)
static int queue_msg_parser (struct nl_cache_ops *ops, struct sockaddr_nl *who, struct nlmsghdr *nlh, struct nl_parser_param *pp)
static int send_queue_request (struct nl_sock *sk, struct nl_msg *msg)

Variables

static struct trans_tbl copy_modes []
static struct nl_cache_ops nfnl_queue_msg_ops
static struct nl_cache_ops nfnl_queue_ops
struct nl_object_ops queue_obj_ops
static struct nla_policy queue_policy [NFQA_MAX+1]


Generated by  Doxygen 1.6.0   Back to index