Searched refs:protonum (Results 1 – 16 of 16) sorted by relevance
/linux-2.4.37.9/include/linux/netfilter_ipv4/ |
D | ip_conntrack_tuple.h | 61 u_int16_t protonum; member 84 (tp), (tp)->dst.protonum, \ 118 && t1->dst.protonum == t2->dst.protonum; in ip_ct_tuple_dst_equal() 135 || ((t->dst.protonum ^ tuple->dst.protonum) in ip_ct_tuple_mask_cmp() 136 & mask->dst.protonum)); in ip_ct_tuple_mask_cmp()
|
D | ip_nat_protocol.h | 18 unsigned int protonum; member 55 extern struct ip_nat_protocol *find_nat_proto(u_int16_t protonum);
|
/linux-2.4.37.9/net/ipv4/netfilter/ |
D | ip_nat_core.c | 80 .tuple.dst.protonum); in ip_nat_cleanup_conntrack() 85 .tuple.dst.protonum); in ip_nat_cleanup_conntrack() 106 return i->protonum == proto; in cmp_proto() 110 find_nat_proto(u_int16_t protonum) in find_nat_proto() argument 115 i = LIST_FIND(&protos, cmp_proto, struct ip_nat_protocol *, protonum); in find_nat_proto() 143 struct ip_nat_protocol *proto = find_nat_proto(tuple->dst.protonum); in in_range() 173 return (i->conntrack->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum in src_cmp() 174 == tuple->dst.protonum in src_cmp() 190 unsigned int h = hash_by_src(&tuple->src, tuple->dst.protonum); in find_appropriate_src() 222 u_int32_t src, u_int32_t dst, u_int16_t protonum, in fake_cmp() argument [all …]
|
D | ip_conntrack_amanda.c | 94 exp.tuple.dst.protonum = IPPROTO_TCP; in help() 97 exp.mask.dst.protonum = 0xFFFF; in help() 130 amanda_helper.tuple.dst.protonum = IPPROTO_UDP; in init() 132 amanda_helper.mask.dst.protonum = 0xFFFF; in init()
|
D | ip_conntrack_tftp.c | 59 exp.mask.dst.protonum = 0xffff; in tftp_help() 104 tftp[i].tuple.dst.protonum = IPPROTO_UDP; in init() 106 tftp[i].mask.dst.protonum = 0xFFFF; in init()
|
D | ip_conntrack_standalone.c | 44 return (i->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum == in kill_proto() 75 atomic_read(&expect->use), expect->tuple.dst.protonum); in print_expect() 77 __ip_ct_find_proto(expect->tuple.dst.protonum)); in print_expect() 88 .tuple.dst.protonum); in print_conntrack() 93 .tuple.dst.protonum, in print_conntrack()
|
D | ip_conntrack_core.c | 120 (tuple->dst.ip ^ tuple->dst.protonum), in hash_conntrack() 144 tuple->dst.protonum = iph->protocol; in ip_ct_get_tuple() 159 inverse->dst.protonum = orig->dst.protonum; in invert_tuple() 321 proto = ip_ct_find_proto(ct->tuplehash[IP_CT_DIR_REPLY].tuple.dst.protonum); in destroy_conntrack() 903 return invert_tuple(inverse, orig, ip_ct_find_proto(orig->dst.protonum)); in invert_tuplepr() 914 return (((i->ct_tuple.dst.protonum == 0 && ip_ct_tuple_equal(&i->tuple, tuple)) in resent_expect() 915 || (i->ct_tuple.dst.protonum && ip_ct_tuple_equal(&i->ct_tuple, tuple))) in resent_expect() 931 i->mask.dst.protonum & mask->dst.protonum } }; in expect_clash() 1089 if (expect->ct_tuple.dst.protonum == 0) { in ip_conntrack_change_expect() 1329 tuple.dst.protonum = IPPROTO_TCP; in getorigdst()
|
D | ip_fw_compat_masq.c | 211 static const char *masq_proto_name(u_int16_t protonum) in masq_proto_name() argument 213 switch (protonum) { in masq_proto_name() 230 masq_proto_name(conntrack->tuplehash[0].tuple.dst.protonum), in print_masq()
|
D | ip_nat_amanda.c | 134 hlpr->tuple.dst.protonum = IPPROTO_UDP; in init() 137 hlpr->mask.dst.protonum = 0xFFFF; in init()
|
D | ipt_conntrack.c | 51 …INV(ct->tuplehash[IP_CT_DIR_ORIGINAL].tuple.dst.protonum != sinfo->tuple[IP_CT_DIR_ORIGINAL].dst.p… in match()
|
D | ip_nat_ftp.c | 195 newtuple.dst.protonum = IPPROTO_TCP; in ftp_data_fixup() 291 ftp[i].tuple.dst.protonum = IPPROTO_TCP; in init() 293 ftp[i].mask.dst.protonum = 0xFFFF; in init()
|
D | ip_nat_tftp.c | 163 tftp[i].tuple.dst.protonum = IPPROTO_UDP; in init() 165 tftp[i].mask.dst.protonum = 0xFFFF; in init()
|
D | ip_nat_irc.c | 230 hlpr->tuple.dst.protonum = IPPROTO_TCP; in init() 233 hlpr->mask.dst.protonum = 0xFFFF; in init()
|
D | ip_conntrack_irc.c | 269 hlpr->tuple.dst.protonum = IPPROTO_TCP; in init() 271 hlpr->mask.dst.protonum = 0xFFFF; in init()
|
D | ip_nat_standalone.c | 266 if (((struct ip_nat_protocol *)i)->protonum in ip_nat_protocol_register() 267 == proto->protonum) { in ip_nat_protocol_register()
|
D | ip_conntrack_ftp.c | 406 ftp[i].tuple.dst.protonum = IPPROTO_TCP; in init() 408 ftp[i].mask.dst.protonum = 0xFFFF; in init()
|