Lines Matching refs:tuple

41 	        const struct nf_conntrack_tuple *tuple,
48 newport = tuple->src.u.udp.port;
52 newport = tuple->dst.u.udp.port;
56 nf_csum_update(skb, iphdroff, &hdr->check, tuple, maniptype);
67 const struct nf_conntrack_tuple *tuple,
76 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, !!hdr->check);
83 const struct nf_conntrack_tuple *tuple,
93 __udp_manip_pkt(skb, iphdroff, hdr, tuple, maniptype, true);
101 const struct nf_conntrack_tuple *tuple,
122 hdr->source = tuple->src.u.sctp.port;
125 hdr->dest = tuple->dst.u.sctp.port;
143 const struct nf_conntrack_tuple *tuple,
163 newport = tuple->src.u.tcp.port;
167 newport = tuple->dst.u.tcp.port;
177 nf_csum_update(skb, iphdroff, &hdr->check, tuple, maniptype);
185 const struct nf_conntrack_tuple *tuple,
202 newport = tuple->src.u.dccp.port;
205 newport = tuple->dst.u.dccp.port;
215 nf_csum_update(skb, iphdroff, &hdr->dccph_checksum, tuple, maniptype);
225 const struct nf_conntrack_tuple *tuple,
248 hdr->un.echo.id, tuple->src.u.icmp.id, false);
249 hdr->un.echo.id = tuple->src.u.icmp.id;
256 const struct nf_conntrack_tuple *tuple,
265 nf_csum_update(skb, iphdroff, &hdr->icmp6_cksum, tuple, maniptype);
270 tuple->src.u.icmp.id, false);
271 hdr->icmp6_identifier = tuple->src.u.icmp.id;
280 const struct nf_conntrack_tuple *tuple,
306 pr_debug("call_id -> 0x%04x\n", ntohs(tuple->dst.u.gre.key));
307 pgreh->call_id = tuple->dst.u.gre.key;
319 const struct nf_conntrack_tuple *tuple,
322 switch (tuple->dst.protonum) {
325 tuple, maniptype);
328 tuple, maniptype);
331 tuple, maniptype);
334 tuple, maniptype);
337 tuple, maniptype);
340 tuple, maniptype);
343 tuple, maniptype);
346 tuple, maniptype);
426 nf_ct_invert_tuple(&target, &ct->tuplehash[!dir].tuple);
602 &ct->tuplehash[!dir].tuple, !manip))
615 nf_ct_invert_tuple(&target, &ct->tuplehash[!dir].tuple);
722 return ct->tuplehash[!dir].tuple.dst.u.all != sport;
777 if (ct->tuplehash[dir].tuple.src.u3.ip !=
778 ct->tuplehash[!dir].tuple.dst.u3.ip ||
779 (ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMP &&
780 ct->tuplehash[dir].tuple.src.u.all !=
781 ct->tuplehash[!dir].tuple.dst.u.all)) {
808 if (ct->tuplehash[dir].tuple.dst.u3.ip !=
809 ct->tuplehash[!dir].tuple.src.u3.ip) {
816 ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMP &&
817 ct->tuplehash[dir].tuple.dst.u.all !=
818 ct->tuplehash[!dir].tuple.src.u.all) {
916 &ct->tuplehash[!dir].tuple, !manip))
931 nf_ct_invert_tuple(&target, &ct->tuplehash[!dir].tuple);
1036 if (!nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.src.u3,
1037 &ct->tuplehash[!dir].tuple.dst.u3) ||
1038 (ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMPV6 &&
1039 ct->tuplehash[dir].tuple.src.u.all !=
1040 ct->tuplehash[!dir].tuple.dst.u.all)) {
1068 if (!nf_inet_addr_cmp(&ct->tuplehash[dir].tuple.dst.u3,
1069 &ct->tuplehash[!dir].tuple.src.u3)) {
1076 ct->tuplehash[dir].tuple.dst.protonum != IPPROTO_ICMPV6 &&
1077 ct->tuplehash[dir].tuple.dst.u.all !=
1078 ct->tuplehash[!dir].tuple.src.u.all) {