Home
last modified time | relevance | path

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

/linux/net/netfilter/
H A Dnf_queue.c130 struct ip_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip_saveroute() local
135 rt_info->tos = iph->tos; in nf_ip_saveroute()
136 rt_info->daddr = iph->daddr; in nf_ip_saveroute()
137 rt_info->saddr = iph->saddr; in nf_ip_saveroute()
138 rt_info->mark = skb->mark; in nf_ip_saveroute()
145 struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip6_saveroute() local
150 rt_info->daddr = iph->daddr; in nf_ip6_saveroute()
151 rt_info->saddr = iph->saddr; in nf_ip6_saveroute()
152 rt_info->mark = skb->mark; in nf_ip6_saveroute()
H A Dnfnetlink_queue.c277 const struct ip_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip_reroute() local
282 if (!(iph->tos == rt_info->tos && in nf_ip_reroute()
283 skb->mark == rt_info->mark && in nf_ip_reroute()
284 iph->daddr == rt_info->daddr && in nf_ip_reroute()
285 iph->saddr == rt_info->saddr)) in nf_ip_reroute()
/linux/net/ipv6/
H A Dnetfilter.c88 struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip6_reroute() local
92 if (!ipv6_addr_equal(&iph->daddr, &rt_info->daddr) || in nf_ip6_reroute()
93 !ipv6_addr_equal(&iph->saddr, &rt_info->saddr) || in nf_ip6_reroute()
94 skb->mark != rt_info->mark) in nf_ip6_reroute()