Searched refs:nfg (Results 1 – 2 of 2) sorted by relevance
203 const struct nfgenmsg *nfg = NULL; in netfilter_read_linux() local214 nfg = NLMSG_DATA(nlh); in netfilter_read_linux()216 struct nfattr *attr = NFM_NFA(nfg); in netfilter_read_linux()272 if (nfg != NULL) in netfilter_read_linux()273 nfqueue_send_verdict(handle, ntohs(nfg->res_id), id, NF_ACCEPT); in netfilter_read_linux()346 struct nfgenmsg *nfg = (struct nfgenmsg *) (buf + sizeof(struct nlmsghdr)); in netfilter_send_config_msg() local363 nfg->nfgen_family = family; in netfilter_send_config_msg()364 nfg->version = NFNETLINK_V0; in netfilter_send_config_msg()365 nfg->res_id = htons(res_id); in netfilter_send_config_msg()
144 struct nfgenmsg *nfg; in add_to_ipset() local161 nfg = mnl_nlmsg_put_extra_header(nlh, sizeof(struct nfgenmsg)); in add_to_ipset()162 nfg->nfgen_family = af; in add_to_ipset()163 nfg->version = NFNETLINK_V0; in add_to_ipset()164 nfg->res_id = htons(0); in add_to_ipset()