Searched refs:lwt (Results 1 – 6 of 6) sorted by relevance
35 static struct ioam6_lwt *ioam6_lwt_state(struct lwtunnel_state *lwt) in ioam6_lwt_state() argument37 return (struct ioam6_lwt *)lwt->data; in ioam6_lwt_state()40 static struct ioam6_lwt_encap *ioam6_lwt_info(struct lwtunnel_state *lwt) in ioam6_lwt_info() argument42 return &ioam6_lwt_state(lwt)->tuninfo; in ioam6_lwt_info()45 static struct ioam6_trace_hdr *ioam6_trace(struct lwtunnel_state *lwt) in ioam6_trace() argument47 return &(ioam6_lwt_state(lwt)->tuninfo.traceh); in ioam6_trace()207 struct lwtunnel_state *lwt = skb_dst(skb)->lwtstate; in ioam6_output() local219 err = ioam6_do_inline(skb, ioam6_lwt_info(lwt)); in ioam6_output()228 return lwt->orig_output(net, sk, skb); in ioam6_output()
24 static inline struct rpl_lwt *rpl_lwt_lwtunnel(struct lwtunnel_state *lwt) in rpl_lwt_lwtunnel() argument26 return (struct rpl_lwt *)lwt->data; in rpl_lwt_lwtunnel()30 rpl_encap_lwtunnel(struct lwtunnel_state *lwt) in rpl_encap_lwtunnel() argument32 return &rpl_lwt_lwtunnel(lwt)->tuninfo; in rpl_encap_lwtunnel()122 static void rpl_destroy_state(struct lwtunnel_state *lwt) in rpl_destroy_state() argument124 dst_cache_destroy(&rpl_lwt_lwtunnel(lwt)->cache); in rpl_destroy_state()
53 static inline struct seg6_lwt *seg6_lwt_lwtunnel(struct lwtunnel_state *lwt) in seg6_lwt_lwtunnel() argument55 return (struct seg6_lwt *)lwt->data; in seg6_lwt_lwtunnel()59 seg6_encap_lwtunnel(struct lwtunnel_state *lwt) in seg6_encap_lwtunnel() argument61 return seg6_lwt_lwtunnel(lwt)->tuninfo; in seg6_encap_lwtunnel()555 static void seg6_destroy_state(struct lwtunnel_state *lwt) in seg6_destroy_state() argument557 dst_cache_destroy(&seg6_lwt_lwtunnel(lwt)->cache); in seg6_destroy_state()
148 static struct seg6_local_lwt *seg6_local_lwtunnel(struct lwtunnel_state *lwt) in seg6_local_lwtunnel() argument150 return (struct seg6_local_lwt *)lwt->data; in seg6_local_lwtunnel()1824 static void seg6_local_destroy_state(struct lwtunnel_state *lwt) in seg6_local_destroy_state() argument1826 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_destroy_state()1836 struct lwtunnel_state *lwt) in seg6_local_fill_encap() argument1838 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_fill_encap()1860 static int seg6_local_get_encap_size(struct lwtunnel_state *lwt) in seg6_local_get_encap_size() argument1862 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_get_encap_size()
27 struct lwtunnel_state *lwt) in ila_lwt_lwtunnel() argument29 return (struct ila_lwt *)lwt->data; in ila_lwt_lwtunnel()33 struct lwtunnel_state *lwt) in ila_params_lwtunnel() argument35 return &ila_lwt_lwtunnel(lwt)->p; in ila_params_lwtunnel()257 static void ila_destroy_state(struct lwtunnel_state *lwt) in ila_destroy_state() argument259 dst_cache_destroy(&ila_lwt_lwtunnel(lwt)->dst_cache); in ila_destroy_state()
29 static inline struct bpf_lwt *bpf_lwt_lwtunnel(struct lwtunnel_state *lwt) in bpf_lwt_lwtunnel() argument31 return (struct bpf_lwt *)lwt->data; in bpf_lwt_lwtunnel()37 static int run_lwt_bpf(struct sk_buff *skb, struct bpf_lwt_prog *lwt, in run_lwt_bpf() argument48 ret = bpf_prog_run_save_cb(lwt->prog, skb); in run_lwt_bpf()58 lwt->name ? : "<unknown>"); in run_lwt_bpf()316 static void bpf_destroy_state(struct lwtunnel_state *lwt) in bpf_destroy_state() argument318 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_destroy_state()461 static int bpf_fill_encap_info(struct sk_buff *skb, struct lwtunnel_state *lwt) in bpf_fill_encap_info() argument463 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_fill_encap_info()