Home
last modified time | relevance | path

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

/linux-6.1.9/net/netfilter/
Dnf_queue.c132 struct ip_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip_saveroute() local
137 rt_info->tos = iph->tos; in nf_ip_saveroute()
138 rt_info->daddr = iph->daddr; in nf_ip_saveroute()
139 rt_info->saddr = iph->saddr; in nf_ip_saveroute()
140 rt_info->mark = skb->mark; in nf_ip_saveroute()
147 struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip6_saveroute() local
152 rt_info->daddr = iph->daddr; in nf_ip6_saveroute()
153 rt_info->saddr = iph->saddr; in nf_ip6_saveroute()
154 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-6.1.9/net/ipv6/
Dnetfilter.c87 struct ip6_rt_info *rt_info = nf_queue_entry_reroute(entry); in nf_ip6_reroute() local
91 if (!ipv6_addr_equal(&iph->daddr, &rt_info->daddr) || in nf_ip6_reroute()
92 !ipv6_addr_equal(&iph->saddr, &rt_info->saddr) || in nf_ip6_reroute()
93 skb->mark != rt_info->mark) in nf_ip6_reroute()