ip6_route.h (5bb053bef82523a8fd78d650bca81c9f114fa276) | ip6_route.h (7d6850f7c618d8f13d7945dd0dcee98223be6459) |
---|---|
1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _NET_IP6_ROUTE_H 3#define _NET_IP6_ROUTE_H 4 5struct route_info { 6 __u8 type; 7 __u8 length; 8 __u8 prefix_len; --- 200 unchanged lines hidden (view full) --- 209 np->dst_cookie = rt6_get_cookie((struct rt6_info *)dst); 210 sk_setup_caps(sk, dst); 211 np->daddr_cache = daddr; 212#ifdef CONFIG_IPV6_SUBTREES 213 np->saddr_cache = saddr; 214#endif 215} 216 | 1/* SPDX-License-Identifier: GPL-2.0 */ 2#ifndef _NET_IP6_ROUTE_H 3#define _NET_IP6_ROUTE_H 4 5struct route_info { 6 __u8 type; 7 __u8 length; 8 __u8 prefix_len; --- 200 unchanged lines hidden (view full) --- 209 np->dst_cookie = rt6_get_cookie((struct rt6_info *)dst); 210 sk_setup_caps(sk, dst); 211 np->daddr_cache = daddr; 212#ifdef CONFIG_IPV6_SUBTREES 213 np->saddr_cache = saddr; 214#endif 215} 216 |
217void ip6_sk_dst_store_flow(struct sock *sk, struct dst_entry *dst, 218 const struct flowi6 *fl6); 219 |
|
217static inline bool ipv6_unicast_destination(const struct sk_buff *skb) 218{ 219 struct rt6_info *rt = (struct rt6_info *) skb_dst(skb); 220 221 return rt->rt6i_flags & RTF_LOCAL; 222} 223 224static inline bool ipv6_anycast_destination(const struct dst_entry *dst, --- 53 unchanged lines hidden --- | 220static inline bool ipv6_unicast_destination(const struct sk_buff *skb) 221{ 222 struct rt6_info *rt = (struct rt6_info *) skb_dst(skb); 223 224 return rt->rt6i_flags & RTF_LOCAL; 225} 226 227static inline bool ipv6_anycast_destination(const struct dst_entry *dst, --- 53 unchanged lines hidden --- |