Lines Matching refs:new_addr
91 nparm->new_addr = parm->new_addr; in tcf_nat_init()
122 __be32 new_addr; in tcf_nat_act() local
137 new_addr = parms->new_addr; in tcf_nat_act()
159 new_addr &= mask; in tcf_nat_act()
160 new_addr |= addr & ~mask; in tcf_nat_act()
165 iph->saddr = new_addr; in tcf_nat_act()
167 iph->daddr = new_addr; in tcf_nat_act()
169 csum_replace4(&iph->check, addr, new_addr); in tcf_nat_act()
188 inet_proto_csum_replace4(&tcph->check, skb, addr, new_addr, in tcf_nat_act()
203 new_addr, true); in tcf_nat_act()
242 new_addr &= mask; in tcf_nat_act()
243 new_addr |= addr & ~mask; in tcf_nat_act()
247 iph->daddr = new_addr; in tcf_nat_act()
249 iph->saddr = new_addr; in tcf_nat_act()
251 inet_proto_csum_replace4(&icmph->checksum, skb, addr, new_addr, in tcf_nat_act()
287 opt.new_addr = parms->new_addr; in tcf_nat_dump()