Home
last modified time | relevance | path

Searched refs:l3protonum (Results 1 – 17 of 17) sorted by relevance

/external/libnetfilter_conntrack/src/conntrack/
Dgrp_setter.c45 ct->head.orig.l3protonum = AF_INET; in set_attr_grp_orig_ipv4()
53 ct->repl.l3protonum = AF_INET; in set_attr_grp_repl_ipv4()
61 ct->head.orig.l3protonum = AF_INET6; in set_attr_grp_orig_ipv6()
69 ct->repl.l3protonum = AF_INET6; in set_attr_grp_repl_ipv6()
93 switch(ct->head.orig.l3protonum) { in set_attr_grp_icmp()
123 ct->master.l3protonum = AF_INET; in set_attr_grp_master_ipv4()
131 ct->master.l3protonum = AF_INET6; in set_attr_grp_master_ipv6()
Dobjopt.c27 this->l3protonum = other->l3protonum; in __autocomplete()
55 switch (ct->head.orig.l3protonum) { in setobjopt_undo_snat()
78 switch (ct->head.orig.l3protonum) { in setobjopt_undo_dnat()
152 switch (ct->head.orig.l3protonum) { in getobjopt_is_snat()
174 switch (ct->head.orig.l3protonum) { in getobjopt_is_dnat()
Dbuild_mnl.c25 switch(t->l3protonum) { in nfct_build_tuple_ip()
268 uint8_t l3protonum) in nfct_build_nat() argument
270 switch (l3protonum) { in nfct_build_nat()
286 uint8_t l3protonum) in nfct_build_snat() argument
291 nfct_build_nat(nlh, &ct->snat, l3protonum); in nfct_build_snat()
332 uint8_t l3protonum) in nfct_build_dnat() argument
337 nfct_build_nat(nlh, &ct->dnat, l3protonum); in nfct_build_dnat()
Dbuild.c20 switch(t->l3protonum) { in __build_tuple_ip()
279 uint8_t l3protonum) in __build_nat() argument
281 switch (l3protonum) { in __build_nat()
298 uint8_t l3protonum) in __build_snat() argument
303 __build_nat(req, size, &ct->snat, l3protonum); in __build_snat()
344 uint8_t l3protonum) in __build_dnat() argument
349 __build_nat(req, size, &ct->dnat, l3protonum); in __build_dnat()
469 uint8_t l3num = ct->head.orig.l3protonum; in __build_conntrack()
Dcopy.c130 dest->head.orig.l3protonum = orig->head.orig.l3protonum; in copy_attr_orig_l3proto()
136 dest->repl.l3protonum = orig->repl.l3protonum; in copy_attr_repl_l3proto()
192 dest->master.l3protonum = orig->master.l3protonum; in copy_attr_master_l3proto()
Dcompare.c41 return (ct1->head.orig.l3protonum == ct2->head.orig.l3protonum); in cmp_orig_l3proto()
188 return (ct1->repl.l3protonum == ct2->repl.l3protonum); in cmp_repl_l3proto()
Dgetter.c99 return &ct->head.orig.l3protonum; in get_attr_orig_l3proto()
104 return &ct->repl.l3protonum; in get_attr_repl_l3proto()
149 return &ct->master.l3protonum; in get_attr_master_l3proto()
Dsnprintf_default.c17 l3proto2str[ct->head.orig.l3protonum] == NULL ? in __snprintf_l3protocol()
18 "unknown" : l3proto2str[ct->head.orig.l3protonum], in __snprintf_l3protocol()
19 ct->head.orig.l3protonum)); in __snprintf_l3protocol()
125 switch (tuple->l3protonum) { in __snprintf_address()
Dsetter.c131 switch(ct->head.orig.l3protonum) { in set_attr_icmp_type()
168 ct->head.orig.l3protonum = *((uint8_t *) value); in set_attr_orig_l3proto()
174 ct->repl.l3protonum = *((uint8_t *) value); in set_attr_repl_l3proto()
344 ct->master.l3protonum = *((uint8_t *) value); in set_attr_master_l3proto()
Dparse.c517 ct->head.orig.l3protonum = nfhdr->nfgen_family; in __parse_conntrack()
525 ct->repl.l3protonum = nfhdr->nfgen_family; in __parse_conntrack()
533 ct->master.l3protonum = nfhdr->nfgen_family; in __parse_conntrack()
Dsnprintf_xml.c106 switch (tuple->l3protonum) { in __snprintf_addr_xml()
307 tuple->l3protonum, __l3proto2str(tuple->l3protonum)); in __snprintf_tuple_xml()
Dparse_mnl.c869 ct->head.orig.l3protonum = l3num; in nfct_payload_parse()
878 ct->repl.l3protonum = l3num; in nfct_payload_parse()
887 ct->master.l3protonum = l3num; in nfct_payload_parse()
/external/libnetfilter_conntrack/src/expect/
Dparse.c36 exp->expected.orig.l3protonum = nfhdr->nfgen_family; in __parse_expect()
39 exp->mask.orig.l3protonum = nfhdr->nfgen_family; in __parse_expect()
42 exp->master.orig.l3protonum = nfhdr->nfgen_family; in __parse_expect()
95 exp->nat.orig.l3protonum = nfhdr->nfgen_family; in __parse_expect()
Dparse_mnl.c59 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()
Dbuild.c62 l3num = exp->master.orig.l3protonum; in __build_expect()
64 l3num = exp->expected.orig.l3protonum; in __build_expect()
Dsnprintf_xml.c127 exp->expected.orig.l3protonum, in snprintf_expect_layer3_xml()
128 __l3proto2str(exp->expected.orig.l3protonum)); in snprintf_expect_layer3_xml()
/external/libnetfilter_conntrack/include/internal/
Dobject.h108 uint8_t l3protonum; member