Lines Matching refs:dst
191 struct dst_entry *dst = skb_dst(skb); in rpl_do_srh() local
197 tinfo = rpl_encap_lwtunnel(dst->lwtstate); in rpl_do_srh()
205 struct dst_entry *dst = NULL; in rpl_output() local
216 dst = dst_cache_get(&rlwt->cache); in rpl_output()
219 if (unlikely(!dst)) { in rpl_output()
230 dst = ip6_route_output(net, NULL, &fl6); in rpl_output()
231 if (dst->error) { in rpl_output()
232 err = dst->error; in rpl_output()
233 dst_release(dst); in rpl_output()
238 dst_cache_set_ip6(&rlwt->cache, dst, &fl6.saddr); in rpl_output()
243 skb_dst_set(skb, dst); in rpl_output()
245 err = skb_cow_head(skb, LL_RESERVED_SPACE(dst->dev)); in rpl_output()
259 struct dst_entry *dst = NULL; in rpl_input() local
272 dst = dst_cache_get(&rlwt->cache); in rpl_input()
277 if (!dst) { in rpl_input()
279 dst = skb_dst(skb); in rpl_input()
280 if (!dst->error) { in rpl_input()
282 dst_cache_set_ip6(&rlwt->cache, dst, in rpl_input()
287 skb_dst_set(skb, dst); in rpl_input()
290 err = skb_cow_head(skb, LL_RESERVED_SPACE(dst->dev)); in rpl_input()