Home
last modified time | relevance | path

Searched refs:nfg (Results 1 – 2 of 2) sorted by relevance

/freebsd/contrib/libpcap/
H A Dpcap-netfilter-linux.c205 const struct nfgenmsg *nfg = NULL; in netfilter_read_linux() local
216 nfg = NLMSG_DATA(nlh); in netfilter_read_linux()
218 struct nfattr *attr = NFM_NFA(nfg); in netfilter_read_linux()
274 if (nfg != NULL) in netfilter_read_linux()
275 nfqueue_send_verdict(handle, ntohs(nfg->res_id), id, NF_ACCEPT); in netfilter_read_linux()
348 struct nfgenmsg *nfg = (struct nfgenmsg *) (buf + sizeof(struct nlmsghdr)); in netfilter_send_config_msg() local
365 nfg->nfgen_family = family; in netfilter_send_config_msg()
366 nfg->version = NFNETLINK_V0; in netfilter_send_config_msg()
367 nfg->res_id = htons(res_id); in netfilter_send_config_msg()
/freebsd/contrib/unbound/ipset/
H A Dipset.c63 struct nfgenmsg *nfg; in add_to_ipset() local
80 nfg = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in add_to_ipset()
81 nfg->nfgen_family = af; in add_to_ipset()
82 nfg->version = NFNETLINK_V0; in add_to_ipset()
83 nfg->res_id = htons(0); in add_to_ipset()