libnl 3.7.0
|
Functions | |
struct nl_sock * | nfnl_queue_socket_alloc (void) |
int | nfnlmsg_queue_msg_parse (struct nlmsghdr *nlh, struct nfnl_queue_msg **result) |
char * | nfnl_queue_copy_mode2str (enum nfnl_queue_copy_mode copy_mode, char *buf, size_t len) |
int | nfnl_queue_str2copy_mode (const char *name) |
Variables | |
struct nl_object_ops | queue_obj_ops |
Attributes | |
void | nfnl_queue_set_group (struct nfnl_queue *queue, uint16_t group) |
int | nfnl_queue_test_group (const struct nfnl_queue *queue) |
uint16_t | nfnl_queue_get_group (const struct nfnl_queue *queue) |
void | nfnl_queue_set_maxlen (struct nfnl_queue *queue, uint32_t maxlen) |
int | nfnl_queue_test_maxlen (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) |
int | nfnl_queue_test_copy_mode (const struct nfnl_queue *queue) |
enum nfnl_queue_copy_mode | nfnl_queue_get_copy_mode (const struct nfnl_queue *queue) |
void | nfnl_queue_set_copy_range (struct nfnl_queue *queue, uint32_t copy_range) |
int | nfnl_queue_test_copy_range (const struct nfnl_queue *queue) |
uint32_t | nfnl_queue_get_copy_range (const struct nfnl_queue *queue) |
Queue Commands | |
int | nfnl_queue_build_pf_bind (uint8_t pf, struct nl_msg **result) |
int | nfnl_queue_pf_bind (struct nl_sock *nlh, uint8_t pf) |
int | nfnl_queue_build_pf_unbind (uint8_t pf, struct nl_msg **result) |
int | nfnl_queue_pf_unbind (struct nl_sock *nlh, uint8_t pf) |
int | nfnl_queue_build_create_request (const struct nfnl_queue *queue, struct nl_msg **result) |
int | nfnl_queue_create (struct nl_sock *nlh, const struct nfnl_queue *queue) |
int | nfnl_queue_build_change_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_build_delete_request (const struct nfnl_queue *queue, struct nl_msg **result) |
int | nfnl_queue_delete (struct nl_sock *nlh, const struct nfnl_queue *queue) |
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) |
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 | ||
) |
int nfnl_queue_pf_unbind | ( | struct nl_sock * | nlh, |
uint8_t | pf | ||
) |
int nfnl_queue_build_create_request | ( | const struct nfnl_queue * | queue, |
struct nl_msg ** | result | ||
) |
int nfnl_queue_create | ( | struct nl_sock * | nlh, |
const struct nfnl_queue * | queue | ||
) |
int nfnl_queue_build_change_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_build_delete_request | ( | const struct nfnl_queue * | queue, |
struct nl_msg ** | result | ||
) |
int nfnl_queue_delete | ( | struct nl_sock * | nlh, |
const struct nfnl_queue * | queue | ||
) |
int nfnlmsg_queue_msg_parse | ( | struct nlmsghdr * | nlh, |
struct nfnl_queue_msg ** | result | ||
) |
Definition at line 45 of file queue_msg.c.
char * nfnl_queue_copy_mode2str | ( | enum nfnl_queue_copy_mode | copy_mode, |
char * | buf, | ||
size_t | len | ||
) |
Definition at line 55 of file queue_obj.c.
int nfnl_queue_str2copy_mode | ( | const char * | name | ) |
Definition at line 62 of file queue_obj.c.
struct nfnl_queue * nfnl_queue_alloc | ( | void | ) |
Definition at line 72 of file queue_obj.c.
void nfnl_queue_get | ( | struct nfnl_queue * | queue | ) |
Definition at line 77 of file queue_obj.c.
void nfnl_queue_put | ( | struct nfnl_queue * | queue | ) |
Definition at line 82 of file queue_obj.c.
void nfnl_queue_set_group | ( | struct nfnl_queue * | queue, |
uint16_t | group | ||
) |
Definition at line 94 of file queue_obj.c.
int nfnl_queue_test_group | ( | const struct nfnl_queue * | queue | ) |
Definition at line 100 of file queue_obj.c.
uint16_t nfnl_queue_get_group | ( | const struct nfnl_queue * | queue | ) |
Definition at line 105 of file queue_obj.c.
void nfnl_queue_set_maxlen | ( | struct nfnl_queue * | queue, |
uint32_t | maxlen | ||
) |
Definition at line 110 of file queue_obj.c.
int nfnl_queue_test_maxlen | ( | const struct nfnl_queue * | queue | ) |
Definition at line 116 of file queue_obj.c.
uint32_t nfnl_queue_get_maxlen | ( | const struct nfnl_queue * | queue | ) |
Definition at line 121 of file queue_obj.c.
void nfnl_queue_set_copy_mode | ( | struct nfnl_queue * | queue, |
enum nfnl_queue_copy_mode | mode | ||
) |
Definition at line 126 of file queue_obj.c.
int nfnl_queue_test_copy_mode | ( | const struct nfnl_queue * | queue | ) |
Definition at line 132 of file queue_obj.c.
enum nfnl_queue_copy_mode nfnl_queue_get_copy_mode | ( | const struct nfnl_queue * | queue | ) |
Definition at line 137 of file queue_obj.c.
void nfnl_queue_set_copy_range | ( | struct nfnl_queue * | queue, |
uint32_t | copy_range | ||
) |
Definition at line 142 of file queue_obj.c.
int nfnl_queue_test_copy_range | ( | const struct nfnl_queue * | queue | ) |
Definition at line 148 of file queue_obj.c.
uint32_t nfnl_queue_get_copy_range | ( | const struct nfnl_queue * | queue | ) |
Definition at line 153 of file queue_obj.c.
struct nl_object_ops queue_obj_ops |
Definition at line 196 of file queue_obj.c.