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

Conntrack
[Netfilter Netlink]


Cache Management

int nfnl_ct_alloc_cache (struct nl_sock *sk, struct nl_cache **result)

Defines

#define NFNLMSG_CT_TYPE(type)   NFNLMSG_TYPE(NFNL_SUBSYS_CTNETLINK, (type))

Functions

static void __exit ct_exit (void)
static void __init ct_init (void)
static int ct_msg_parser (struct nl_cache_ops *ops, struct sockaddr_nl *who, struct nlmsghdr *nlh, struct nl_parser_param *pp)
static int ct_parse_counters (struct nfnl_ct *ct, int repl, struct nlattr *attr)
static int ct_parse_ip (struct nfnl_ct *ct, int repl, struct nlattr *attr)
static int ct_parse_proto (struct nfnl_ct *ct, int repl, struct nlattr *attr)
static int ct_parse_protoinfo (struct nfnl_ct *ct, struct nlattr *attr)
static int ct_parse_protoinfo_tcp (struct nfnl_ct *ct, struct nlattr *attr)
static int ct_parse_tuple (struct nfnl_ct *ct, int repl, struct nlattr *attr)
static int ct_request_update (struct nl_cache *cache, struct nl_sock *sk)
int nfnl_ct_add (struct nl_sock *sk, const struct nfnl_ct *ct, int flags)
int nfnl_ct_build_add_request (const struct nfnl_ct *ct, int flags, struct nl_msg **result)
int nfnl_ct_build_delete_request (const struct nfnl_ct *ct, int flags, struct nl_msg **result)
static int nfnl_ct_build_message (const struct nfnl_ct *ct, int cmd, int flags, struct nl_msg **result)
int nfnl_ct_build_query_request (const struct nfnl_ct *ct, int flags, struct nl_msg **result)
static int nfnl_ct_build_tuple (struct nl_msg *msg, const struct nfnl_ct *ct, int repl)
int nfnl_ct_del (struct nl_sock *sk, const struct nfnl_ct *ct, int flags)
int nfnl_ct_dump_request (struct nl_sock *sk)
int nfnl_ct_query (struct nl_sock *sk, const struct nfnl_ct *ct, int flags)
int nfnlmsg_ct_group (struct nlmsghdr *nlh)
int nfnlmsg_ct_parse (struct nlmsghdr *nlh, struct nfnl_ct **result)
static uint64_t ntohll (uint64_t x)

Variables

static struct nla_policy ct_counters_policy [CTA_COUNTERS_MAX+1]
static struct nl_af_group ct_groups []
static struct nla_policy ct_ip_policy [CTA_IP_MAX+1]
static struct nla_policy ct_policy [CTA_MAX+1]
static struct nla_policy ct_proto_policy [CTA_PROTO_MAX+1]
static struct nla_policy ct_protoinfo_policy [CTA_PROTOINFO_MAX+1]
static struct nla_policy ct_protoinfo_tcp_policy [CTA_PROTOINFO_TCP_MAX+1]
static struct nla_policy ct_tuple_policy [CTA_TUPLE_MAX+1]
static struct nl_cache_ops nfnl_ct_ops


Generated by  Doxygen 1.6.0   Back to index