Lines Matching refs:target
89 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_ipv4() argument
92 if (memcmp(&target.src.u3, &tuple->src.u3, sizeof(target.src.u3))) in tcf_ct_flow_table_add_action_nat_ipv4()
96 be32_to_cpu(target.src.u3.ip)); in tcf_ct_flow_table_add_action_nat_ipv4()
97 if (memcmp(&target.dst.u3, &tuple->dst.u3, sizeof(target.dst.u3))) in tcf_ct_flow_table_add_action_nat_ipv4()
101 be32_to_cpu(target.dst.u3.ip)); in tcf_ct_flow_table_add_action_nat_ipv4()
119 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_ipv6() argument
122 if (memcmp(&target.src.u3, &tuple->src.u3, sizeof(target.src.u3))) in tcf_ct_flow_table_add_action_nat_ipv6()
123 tcf_ct_add_ipv6_addr_mangle_action(action, &target.src.u3, in tcf_ct_flow_table_add_action_nat_ipv6()
126 if (memcmp(&target.dst.u3, &tuple->dst.u3, sizeof(target.dst.u3))) in tcf_ct_flow_table_add_action_nat_ipv6()
127 tcf_ct_add_ipv6_addr_mangle_action(action, &target.dst.u3, in tcf_ct_flow_table_add_action_nat_ipv6()
134 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_tcp() argument
137 __be16 target_src = target.src.u.tcp.port; in tcf_ct_flow_table_add_action_nat_tcp()
138 __be16 target_dst = target.dst.u.tcp.port; in tcf_ct_flow_table_add_action_nat_tcp()
152 struct nf_conntrack_tuple target, in tcf_ct_flow_table_add_action_nat_udp() argument
155 __be16 target_src = target.src.u.udp.port; in tcf_ct_flow_table_add_action_nat_udp()
156 __be16 target_dst = target.dst.u.udp.port; in tcf_ct_flow_table_add_action_nat_udp()
202 struct nf_conntrack_tuple target; in tcf_ct_flow_table_add_action_nat() local
207 nf_ct_invert_tuple(&target, &ct->tuplehash[!dir].tuple); in tcf_ct_flow_table_add_action_nat()
211 tcf_ct_flow_table_add_action_nat_ipv4(tuple, target, in tcf_ct_flow_table_add_action_nat()
215 tcf_ct_flow_table_add_action_nat_ipv6(tuple, target, in tcf_ct_flow_table_add_action_nat()
224 tcf_ct_flow_table_add_action_nat_tcp(tuple, target, action); in tcf_ct_flow_table_add_action_nat()
227 tcf_ct_flow_table_add_action_nat_udp(tuple, target, action); in tcf_ct_flow_table_add_action_nat()