Lines Matching refs:new_addr
76 p->new_addr = parm->new_addr; in tcf_nat_init()
95 __be32 new_addr; in tcf_nat() local
107 new_addr = p->new_addr; in tcf_nat()
134 new_addr &= mask; in tcf_nat()
135 new_addr |= addr & ~mask; in tcf_nat()
140 iph->saddr = new_addr; in tcf_nat()
142 iph->daddr = new_addr; in tcf_nat()
144 csum_replace4(&iph->check, addr, new_addr); in tcf_nat()
163 inet_proto_csum_replace4(&tcph->check, skb, addr, new_addr, in tcf_nat()
178 new_addr, true); in tcf_nat()
219 new_addr &= mask; in tcf_nat()
220 new_addr |= addr & ~mask; in tcf_nat()
224 iph->daddr = new_addr; in tcf_nat()
226 iph->saddr = new_addr; in tcf_nat()
228 inet_proto_csum_replace4(&icmph->checksum, skb, addr, new_addr, in tcf_nat()
253 .new_addr = p->new_addr, in tcf_nat_dump()