Home
last modified time | relevance | path

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

/net/ipv4/
Dnetfilter.c95 struct ip_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip_saveroute() local
100 rt_info->tos = iph->tos; in nf_ip_saveroute()
101 rt_info->daddr = iph->daddr; in nf_ip_saveroute()
102 rt_info->saddr = iph->saddr; in nf_ip_saveroute()
103 rt_info->mark = skb->mark; in nf_ip_saveroute()
110 const struct ip_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip_reroute() local
115 if (!(iph->tos == rt_info->tos && in nf_ip_reroute()
116 skb->mark == rt_info->mark && in nf_ip_reroute()
117 iph->daddr == rt_info->daddr && in nf_ip_reroute()
118 iph->saddr == rt_info->saddr)) in nf_ip_reroute()
/net/ipv6/
Dnetfilter.c86 struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip6_saveroute() local
91 rt_info->daddr = iph->daddr; in nf_ip6_saveroute()
92 rt_info->saddr = iph->saddr; in nf_ip6_saveroute()
93 rt_info->mark = skb->mark; in nf_ip6_saveroute()
100 struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip6_reroute() local
104 if (!ipv6_addr_equal(&iph->daddr, &rt_info->daddr) || in nf_ip6_reroute()
105 !ipv6_addr_equal(&iph->saddr, &rt_info->saddr) || in nf_ip6_reroute()
106 skb->mark != rt_info->mark) in nf_ip6_reroute()