nfq_bind_pf - bind a nfqueue handler to a given protocol family
|h ||Netfilter queue connection handle obtained via call to nfq_open() |
|pf ||protocol family to bind to nfqueue handler obtained from nfq_open()|
Binds the given queue connection handle to process packets belonging to the given protocol family (ie. PF_INET, PF_INET6, etc).
- integer inferior to 0 in case of failure
Definition at line 393 of file libnetfilter_queue.c.
return __build_send_cfg_msg(h, NFQNL_CFG_CMD_PF_BIND, 0, pf);