Home
last modified time | relevance | path

Searched refs:rt_info (Results 1 – 2 of 2) sorted by relevance

/linux-2.6.39/net/ipv6/
Dnetfilter.c67 struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip6_saveroute() local
72 rt_info->daddr = iph->daddr; in nf_ip6_saveroute()
73 rt_info->saddr = iph->saddr; in nf_ip6_saveroute()
74 rt_info->mark = skb->mark; in nf_ip6_saveroute()
81 struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip6_reroute() local
85 if (!ipv6_addr_equal(&iph->daddr, &rt_info->daddr) || in nf_ip6_reroute()
86 !ipv6_addr_equal(&iph->saddr, &rt_info->saddr) || in nf_ip6_reroute()
87 skb->mark != rt_info->mark) in nf_ip6_reroute()
/linux-2.6.39/net/ipv4/
Dnetfilter.c143 struct ip_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip_saveroute() local
148 rt_info->tos = iph->tos; in nf_ip_saveroute()
149 rt_info->daddr = iph->daddr; in nf_ip_saveroute()
150 rt_info->saddr = iph->saddr; in nf_ip_saveroute()
151 rt_info->mark = skb->mark; in nf_ip_saveroute()
158 const struct ip_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip_reroute() local
163 if (!(iph->tos == rt_info->tos && in nf_ip_reroute()
164 skb->mark == rt_info->mark && in nf_ip_reroute()
165 iph->daddr == rt_info->daddr && in nf_ip_reroute()
166 iph->saddr == rt_info->saddr)) in nf_ip_reroute()