libnetfilter_queue  1.0.3
Functions
Netlink message helper functions

Functions

int nfq_nlmsg_parse (const struct nlmsghdr *nlh, struct nlattr **attr)
 

Detailed Description

Function Documentation

int nfq_nlmsg_parse ( const struct nlmsghdr *  nlh,
struct nlattr **  attr 
)

nfq_pkt_parse - set packet attributes from netlink message

Parameters
nlhnetlink message that you want to read.
pktpointer to the packet to set.

This function returns MNL_CB_ERROR if any error occurs, or MNL_CB_OK on success.

Definition at line 182 of file nlmsg.c.