Lines Matching refs:metadata_dst
19 struct metadata_dst {
28 static inline struct metadata_dst *skb_metadata_dst(const struct sk_buff *skb)
30 struct metadata_dst *md_dst = (struct metadata_dst *) skb_dst(skb);
41 struct metadata_dst *md_dst = skb_metadata_dst(skb);
66 const struct metadata_dst *a, *b;
71 a = (const struct metadata_dst *) skb_dst(skb_a);
72 b = (const struct metadata_dst *) skb_dst(skb_b);
90 void metadata_dst_free(struct metadata_dst *);
91 struct metadata_dst *metadata_dst_alloc(u8 optslen, enum metadata_type type,
93 void metadata_dst_free_percpu(struct metadata_dst __percpu *md_dst);
94 struct metadata_dst __percpu *
97 static inline struct metadata_dst *tun_rx_dst(int md_size)
99 struct metadata_dst *tun_dst;
110 static inline struct metadata_dst *tun_dst_unclone(struct sk_buff *skb)
112 struct metadata_dst *md_dst = skb_metadata_dst(skb);
114 struct metadata_dst *new_md;
133 struct metadata_dst *dst;
142 static inline struct metadata_dst *__ip_tun_set_dst(__be32 saddr,
150 struct metadata_dst *tun_dst;
162 static inline struct metadata_dst *ip_tun_rx_dst(struct sk_buff *skb,
173 static inline struct metadata_dst *__ipv6_tun_set_dst(const struct in6_addr *saddr,
182 struct metadata_dst *tun_dst;
206 static inline struct metadata_dst *ipv6_tun_rx_dst(struct sk_buff *skb,