netfilter
firewalling, NAT, and packet mangling for linux
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Modules Pages
parse_mnl.c File Reference
#include "internal/internal.h"
#include <libmnl/libmnl.h>
#include <limits.h>
#include <endian.h>
Include dependency graph for parse_mnl.c:

Functions

int nfct_parse_tuple (const struct nlattr *attr, struct __nfct_tuple *tuple, int dir, u_int32_t *set)
 
int nfct_payload_parse (const void *payload, size_t payload_len, uint16_t l3num, struct nf_conntrack *ct)
 
int nfct_nlmsg_parse (const struct nlmsghdr *nlh, struct nf_conntrack *ct)
 

Function Documentation

int nfct_nlmsg_parse ( const struct nlmsghdr nlh,
struct nf_conntrack ct 
)

References mnl_nlmsg_get_payload(), mnl_nlmsg_get_payload_len(), nfct_payload_parse(), and nfgenmsg::nfgen_family.

Referenced by author_destroy(), author_new(), author_update(), and debug_nfct_cb().

Here is the call graph for this function:

Here is the caller graph for this function:

int nfct_parse_tuple ( const struct nlattr attr,
struct __nfct_tuple tuple,
int  dir,
u_int32_t *  set 
)

References CTA_TUPLE_IP, CTA_TUPLE_MAX, CTA_TUPLE_PROTO, and mnl_attr_parse_nested().

Referenced by nfct_payload_parse(), and nfexp_nlmsg_parse().

Here is the call graph for this function:

Here is the caller graph for this function: