Lines Matching refs:rlwt
75 struct rpl_lwt *rlwt; in rpl_build_state() local
99 newts = lwtunnel_state_alloc(srh_len + sizeof(*rlwt)); in rpl_build_state()
103 rlwt = rpl_lwt_lwtunnel(newts); in rpl_build_state()
105 err = dst_cache_init(&rlwt->cache, GFP_ATOMIC); in rpl_build_state()
111 memcpy(&rlwt->tuninfo.srh, srh, srh_len); in rpl_build_state()
127 static int rpl_do_srh_inline(struct sk_buff *skb, const struct rpl_lwt *rlwt, in rpl_do_srh_inline() argument
189 static int rpl_do_srh(struct sk_buff *skb, const struct rpl_lwt *rlwt) in rpl_do_srh() argument
199 return rpl_do_srh_inline(skb, rlwt, tinfo->srh); in rpl_do_srh()
206 struct rpl_lwt *rlwt; in rpl_output() local
209 rlwt = rpl_lwt_lwtunnel(orig_dst->lwtstate); in rpl_output()
211 err = rpl_do_srh(skb, rlwt); in rpl_output()
216 dst = dst_cache_get(&rlwt->cache); in rpl_output()
238 dst_cache_set_ip6(&rlwt->cache, dst, &fl6.saddr); in rpl_output()
260 struct rpl_lwt *rlwt; in rpl_input() local
263 rlwt = rpl_lwt_lwtunnel(orig_dst->lwtstate); in rpl_input()
265 err = rpl_do_srh(skb, rlwt); in rpl_input()
272 dst = dst_cache_get(&rlwt->cache); in rpl_input()
280 dst_cache_set_ip6(&rlwt->cache, dst, in rpl_input()