Home
last modified time | relevance | path

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

/external/libnl/lib/netfilter/
Dnfnl.c151 struct nfgenmsg *nfg = nlmsg_data(nlh); in nfnlmsg_family() local
153 return nfg->nfgen_family; in nfnlmsg_family()
162 struct nfgenmsg *nfg = nlmsg_data(nlh); in nfnlmsg_res_id() local
164 return ntohs(nfg->res_id); in nfnlmsg_res_id()
176 struct nfgenmsg *nfg; in nfnlmsg_append() local
178 nfg = nlmsg_reserve(msg, sizeof(*nfg), NLMSG_ALIGNTO); in nfnlmsg_append()
179 if (nfg == NULL) in nfnlmsg_append()
182 nfg->nfgen_family = family; in nfnlmsg_append()
183 nfg->version = NFNETLINK_V0; in nfnlmsg_append()
184 nfg->res_id = htons(res_id); in nfnlmsg_append()
/external/libnetfilter_conntrack/src/expect/
Dparse_mnl.c53 struct nfgenmsg *nfg = mnl_nlmsg_get_payload(nlh); in nfexp_nlmsg_parse() local
59 exp->expected.orig.l3protonum = nfg->nfgen_family; in nfexp_nlmsg_parse()
67 exp->mask.orig.l3protonum = nfg->nfgen_family; in nfexp_nlmsg_parse()
75 exp->master.orig.l3protonum = nfg->nfgen_family; in nfexp_nlmsg_parse()
/external/libpcap/
Dpcap-netfilter-linux.c133 const struct nfgenmsg *nfg = NULL; in netfilter_read_linux() local
144 nfg = NLMSG_DATA(nlh); in netfilter_read_linux()
146 struct nfattr *attr = NFM_NFA(nfg); in netfilter_read_linux()
202 if (nfg != NULL) in netfilter_read_linux()
203 nfqueue_send_verdict(handle, ntohs(nfg->res_id), id, NF_ACCEPT); in netfilter_read_linux()
254 struct nfgenmsg *nfg = (struct nfgenmsg *) (buf + sizeof(struct nlmsghdr)); in netfilter_send_config_msg() local
269 nfg->nfgen_family = family; in netfilter_send_config_msg()
270 nfg->version = NFNETLINK_V0; in netfilter_send_config_msg()
271 nfg->res_id = htons(res_id); in netfilter_send_config_msg()
/external/libnetfilter_conntrack/src/conntrack/
Dfilter_dump.c44 struct nfgenmsg *nfg = NLMSG_DATA(&req->nlh); in __build_filter_dump() local
45 nfg->nfgen_family = filter_dump->l3num; in __build_filter_dump()
/external/libnfnetlink/src/
Dlibnfnetlink.c528 struct nfgenmsg *nfg = (void *)nlh + sizeof(*nlh); in nfnl_fill_hdr() local
530 nlh->nlmsg_len = NLMSG_LENGTH(len+sizeof(*nfg)); in nfnl_fill_hdr()
545 nfg->nfgen_family = family; in nfnl_fill_hdr()
546 nfg->version = NFNETLINK_V0; in nfnl_fill_hdr()
547 nfg->res_id = htons(res_id); in nfnl_fill_hdr()
/external/iptables/iptables/
Dnft.c2440 struct nfgenmsg *nfg = mnl_nlmsg_put_extra_header(nlh, sizeof(*nfg)); in nft_compatible_revision() local
2441 nfg->nfgen_family = AF_INET; in nft_compatible_revision()
2442 nfg->version = NFNETLINK_V0; in nft_compatible_revision()
2443 nfg->res_id = 0; in nft_compatible_revision()
/external/toolchain-utils/android_bench_suite/panorama_input/
Dtest_008.ppm2708 fRT���iYX�wv����wui]_OBDE;<QFHaWXnde�wx������ɾ���������������ŭ�������������������������˓��nfg�����Ũ…
5275 …1J;6?4.I=7<45lde��ɝ��lpukotIOQmsu`ei&*/16;:>CXYaRS[ABHFHM`bd),-5046156/10),nfgƾ�Ⱦ�����������������…
Dtest_003.ppm3413 �((03.0oqf|~s~x�z��}LFB5*)xpq���B:;)!"nfg������������WIM`SVK>A>43zon�������vv�ttxllv…
Dtest_011.ppm2489 >/*H84)���- �*"4,(:1.E=:_RPsfdsfduhfsfdbVS|qn�}z�������}{��nfg*"#