Home
last modified time | relevance | path

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

/Linux-v5.15/net/netfilter/
Dnf_queue.c121 struct ip_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip_saveroute() local
126 rt_info->tos = iph->tos; in nf_ip_saveroute()
127 rt_info->daddr = iph->daddr; in nf_ip_saveroute()
128 rt_info->saddr = iph->saddr; in nf_ip_saveroute()
129 rt_info->mark = skb->mark; in nf_ip_saveroute()
136 struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip6_saveroute() local
141 rt_info->daddr = iph->daddr; in nf_ip6_saveroute()
142 rt_info->saddr = iph->saddr; in nf_ip6_saveroute()
143 rt_info->mark = skb->mark; in nf_ip6_saveroute()
Dutils.c185 const struct ip_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip_reroute() local
190 if (!(iph->tos == rt_info->tos && in nf_ip_reroute()
191 skb->mark == rt_info->mark && in nf_ip_reroute()
192 iph->daddr == rt_info->daddr && in nf_ip_reroute()
193 iph->saddr == rt_info->saddr)) in nf_ip_reroute()
/Linux-v5.15/net/ipv6/
Dnetfilter.c82 struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip6_reroute() local
86 if (!ipv6_addr_equal(&iph->daddr, &rt_info->daddr) || in nf_ip6_reroute()
87 !ipv6_addr_equal(&iph->saddr, &rt_info->saddr) || in nf_ip6_reroute()
88 skb->mark != rt_info->mark) in nf_ip6_reroute()