Searched refs:protonum (Results 1 – 18 of 18) sorted by relevance
/external/libnetfilter_conntrack/src/conntrack/ |
D | snprintf_xml.c | 56 const char *__proto2str(uint8_t protonum) in __proto2str() argument 58 return proto2str[protonum] ? proto2str[protonum] : "unknown"; in __proto2str() 61 const char *__l3proto2str(uint8_t protonum) in __l3proto2str() argument 63 return l3proto2str[protonum] ? l3proto2str[protonum] : "unknown"; in __l3proto2str() 130 switch(tuple->protonum) { in __snprintf_proto_xml() 321 tuple->protonum, __proto2str(tuple->protonum)); in __snprintf_tuple_xml()
|
D | compare.c | 91 if (ct1->head.orig.protonum != ct2->head.orig.protonum) in cmp_orig_l4proto() 94 switch(ct1->head.orig.protonum) { in cmp_orig_l4proto() 212 if (ct1->repl.protonum != ct2->repl.protonum) in cmp_repl_l4proto() 215 switch(ct1->repl.protonum) { in cmp_repl_l4proto()
|
D | copy.c | 142 dest->head.orig.protonum = orig->head.orig.protonum; in copy_attr_orig_l4proto() 148 dest->repl.protonum = orig->repl.protonum; in copy_attr_repl_l4proto() 198 dest->master.protonum = orig->master.protonum; in copy_attr_master_l4proto()
|
D | objopt.c | 28 this->protonum = other->protonum; in __autocomplete() 33 switch(this->protonum) { in __autocomplete()
|
D | getter.c | 109 return &ct->head.orig.protonum; in get_attr_orig_l4proto() 114 return &ct->repl.protonum; in get_attr_repl_l4proto() 154 return &ct->master.protonum; in get_attr_master_l4proto()
|
D | snprintf_default.c | 27 proto2str[ct->head.orig.protonum] == NULL ? in __snprintf_protocol() 28 "unknown" : proto2str[ct->head.orig.protonum], in __snprintf_protocol() 29 ct->head.orig.protonum)); in __snprintf_protocol() 145 switch(tuple->protonum) { in __snprintf_proto()
|
D | build_mnl.c | 53 mnl_attr_put_u8(nlh, CTA_PROTO_NUM, t->protonum); in nfct_build_tuple_proto() 55 switch(t->protonum) { in nfct_build_tuple_proto() 118 switch(ct->head.orig.protonum) { in nfct_build_protoinfo() 253 switch (ct->head.orig.protonum) { in nfct_build_protonat()
|
D | build.c | 48 nfnl_addattr_l(&req->nlh, size, CTA_PROTO_NUM, &t->protonum, in __build_tuple_proto() 51 switch(t->protonum) { in __build_tuple_proto() 111 switch(ct->head.orig.protonum) { in __build_protoinfo() 264 switch (ct->head.orig.protonum) { in __build_protonat()
|
D | setter.c | 180 ct->head.orig.protonum = *((uint8_t *) value); in set_attr_orig_l4proto() 186 ct->repl.protonum = *((uint8_t *) value); in set_attr_repl_l4proto() 350 ct->master.protonum = *((uint8_t *) value); in set_attr_master_l4proto()
|
D | parse.c | 98 tuple->protonum = *(uint8_t *)NFA_DATA(tb[CTA_PROTO_NUM-1]); in __parse_proto()
|
D | parse_mnl.c | 158 tuple->protonum = mnl_attr_get_u8(tb[CTA_PROTO_NUM]); in nfct_parse_proto()
|
/external/libnetfilter_conntrack/include/internal/ |
D | prototypes.h | 28 const char *__proto2str(uint8_t protonum); 29 const char *__l3proto2str(uint8_t protonum);
|
D | object.h | 109 uint8_t protonum; member
|
/external/iptables/iptables/ |
D | nft-ipv6.c | 364 char protonum[sizeof("65535")]; in nft_ipv6_xlate() local 365 const char *name = protonum; in nft_ipv6_xlate() 367 snprintf(protonum, sizeof(protonum), "%u", in nft_ipv6_xlate()
|
D | nft-ipv4.c | 405 char protonum[sizeof("65535")]; in nft_ipv4_xlate() local 406 const char *name = protonum; in nft_ipv4_xlate() 408 snprintf(protonum, sizeof(protonum), "%u", in nft_ipv4_xlate()
|
/external/libnetfilter_conntrack/src/expect/ |
D | snprintf_xml.c | 187 exp->expected.orig.protonum, in snprintf_expect_layer4_xml() 188 __proto2str(exp->expected.orig.protonum)); in snprintf_expect_layer4_xml()
|
D | snprintf_default.c | 37 exp->expected.orig.protonum)); in __snprintf_expect_proto()
|
/external/iptables/extensions/ |
D | libxt_conntrack.c | 37 __u16 protonum; member 349 sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.protonum = cb->val.protocol; in conntrack_parse() 352 if (sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.protonum == 0 in conntrack_parse() 709 printf(" %u", sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.protonum); in matchinfo_print()
|