Lines Matching refs:dir

78 			    unsigned int thoff, enum flow_offload_tuple_dir dir)
82 switch (dir) {
101 unsigned int thoff, enum flow_offload_tuple_dir dir)
105 switch (dir) {
123 unsigned int thoff, enum flow_offload_tuple_dir dir,
127 nf_flow_snat_port(flow, skb, thoff, iph->protocol, dir);
128 nf_flow_snat_ip(flow, skb, iph, thoff, dir);
131 nf_flow_dnat_port(flow, skb, thoff, iph->protocol, dir);
132 nf_flow_dnat_ip(flow, skb, iph, thoff, dir);
368 enum flow_offload_tuple_dir dir;
373 dir = tuplehash->tuple.dir;
374 flow = container_of(tuplehash, struct flow_offload, tuplehash[dir]);
376 mtu = flow->tuplehash[dir].tuple.mtu + ctx->offset;
399 nf_flow_nat_ip(flow, skb, thoff, dir, iph);
405 nf_ct_acct_update(flow->ct, tuplehash->tuple.dir, skb->len);
416 enum flow_offload_tuple_dir dir;
444 dir = tuplehash->tuple.dir;
445 flow = container_of(tuplehash, struct flow_offload, tuplehash[dir]);
452 nexthop = rt_nexthop(rt, flow->tuplehash[!dir].tuple.src_v4.s_addr);
516 enum flow_offload_tuple_dir dir)
520 switch (dir) {
539 enum flow_offload_tuple_dir dir)
543 switch (dir) {
561 enum flow_offload_tuple_dir dir,
567 nf_flow_snat_port(flow, skb, thoff, ip6h->nexthdr, dir);
568 nf_flow_snat_ipv6(flow, skb, ip6h, thoff, dir);
571 nf_flow_dnat_port(flow, skb, thoff, ip6h->nexthdr, dir);
572 nf_flow_dnat_ipv6(flow, skb, ip6h, thoff, dir);
647 enum flow_offload_tuple_dir dir;
652 dir = tuplehash->tuple.dir;
653 flow = container_of(tuplehash, struct flow_offload, tuplehash[dir]);
655 mtu = flow->tuplehash[dir].tuple.mtu + ctx->offset;
677 nf_flow_nat_ipv6(flow, skb, dir, ip6h);
683 nf_ct_acct_update(flow->ct, tuplehash->tuple.dir, skb->len);
711 enum flow_offload_tuple_dir dir;
739 dir = tuplehash->tuple.dir;
740 flow = container_of(tuplehash, struct flow_offload, tuplehash[dir]);
747 nexthop = rt6_nexthop(rt, &flow->tuplehash[!dir].tuple.src_v6);