Home
last modified time | relevance | path

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

/openbmc/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 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()
/openbmc/linux/net/ipv6/
H A 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()