Home
last modified time | relevance | path

Searched refs:lwt (Results 1 – 9 of 9) sorted by relevance

/openbmc/linux/net/ipv6/
H A Dioam6_iptunnel.c54 static struct ioam6_lwt *ioam6_lwt_state(struct lwtunnel_state *lwt) in ioam6_lwt_state() argument
56 return (struct ioam6_lwt *)lwt->data; in ioam6_lwt_state()
59 static struct ioam6_lwt_encap *ioam6_lwt_info(struct lwtunnel_state *lwt) in ioam6_lwt_info() argument
61 return &ioam6_lwt_state(lwt)->tuninfo; in ioam6_lwt_info()
64 static struct ioam6_trace_hdr *ioam6_lwt_trace(struct lwtunnel_state *lwt) in ioam6_lwt_trace() argument
66 return &(ioam6_lwt_state(lwt)->tuninfo.traceh); in ioam6_lwt_trace()
110 struct lwtunnel_state *lwt; in ioam6_build_state() local
164 lwt = lwtunnel_state_alloc(sizeof(*ilwt) + len_aligned); in ioam6_build_state()
165 if (!lwt) in ioam6_build_state()
168 ilwt = ioam6_lwt_state(lwt); in ioam6_build_state()
[all …]
H A Drpl_iptunnel.c24 static inline struct rpl_lwt *rpl_lwt_lwtunnel(struct lwtunnel_state *lwt) in rpl_lwt_lwtunnel() argument
26 return (struct rpl_lwt *)lwt->data; in rpl_lwt_lwtunnel()
30 rpl_encap_lwtunnel(struct lwtunnel_state *lwt) in rpl_encap_lwtunnel() argument
32 return &rpl_lwt_lwtunnel(lwt)->tuninfo; in rpl_encap_lwtunnel()
122 static void rpl_destroy_state(struct lwtunnel_state *lwt) in rpl_destroy_state() argument
124 dst_cache_destroy(&rpl_lwt_lwtunnel(lwt)->cache); in rpl_destroy_state()
H A Dseg6_iptunnel.c55 static inline struct seg6_lwt *seg6_lwt_lwtunnel(struct lwtunnel_state *lwt) in seg6_lwt_lwtunnel() argument
57 return (struct seg6_lwt *)lwt->data; in seg6_lwt_lwtunnel()
61 seg6_encap_lwtunnel(struct lwtunnel_state *lwt) in seg6_encap_lwtunnel() argument
63 return seg6_lwt_lwtunnel(lwt)->tuninfo; in seg6_encap_lwtunnel()
718 static void seg6_destroy_state(struct lwtunnel_state *lwt) in seg6_encap_cmp()
720 dst_cache_destroy(&seg6_lwt_lwtunnel(lwt)->cache); in seg6_encap_cmp()
689 seg6_destroy_state(struct lwtunnel_state * lwt) seg6_destroy_state() argument
H A Dseg6_local.c211 static struct seg6_local_lwt *seg6_local_lwtunnel(struct lwtunnel_state *lwt) in seg6_local_lwtunnel() argument
213 return (struct seg6_local_lwt *)lwt->data; in seg6_local_lwtunnel()
2545 static void seg6_local_destroy_state(struct lwtunnel_state *lwt) in seg6_local_destroy_state() argument
2547 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_destroy_state()
2557 struct lwtunnel_state *lwt) in seg6_local_fill_encap() argument
2559 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_fill_encap()
2581 static int seg6_local_get_encap_size(struct lwtunnel_state *lwt) in seg6_local_get_encap_size() argument
2583 struct seg6_local_lwt *slwt = seg6_local_lwtunnel(lwt); in seg6_local_get_encap_size()
/openbmc/linux/net/ipv6/ila/
H A Dila_lwt.c27 struct lwtunnel_state *lwt) in ila_lwt_lwtunnel() argument
29 return (struct ila_lwt *)lwt->data; in ila_lwt_lwtunnel()
33 struct lwtunnel_state *lwt) in ila_params_lwtunnel() argument
35 return &ila_lwt_lwtunnel(lwt)->p; in ila_params_lwtunnel()
262 static void ila_destroy_state(struct lwtunnel_state *lwt) in ila_destroy_state() argument
264 dst_cache_destroy(&ila_lwt_lwtunnel(lwt)->dst_cache); in ila_destroy_state()
/openbmc/linux/net/core/
H A Dlwt_bpf.c30 static inline struct bpf_lwt *bpf_lwt_lwtunnel(struct lwtunnel_state *lwt) in bpf_lwt_lwtunnel() argument
32 return (struct bpf_lwt *)lwt->data; in bpf_lwt_lwtunnel()
38 static int run_lwt_bpf(struct sk_buff *skb, struct bpf_lwt_prog *lwt, in run_lwt_bpf() argument
49 ret = bpf_prog_run_save_cb(lwt->prog, skb); in run_lwt_bpf()
59 lwt->name ? : "<unknown>"); in run_lwt_bpf()
317 static void bpf_destroy_state(struct lwtunnel_state *lwt) in bpf_destroy_state() argument
319 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_destroy_state()
462 static int bpf_fill_encap_info(struct sk_buff *skb, struct lwtunnel_state *lwt) in bpf_fill_encap_info() argument
464 struct bpf_lwt *bpf = bpf_lwt_lwtunnel(lwt); in bpf_fill_encap_info()
/openbmc/linux/include/net/
H A Ddst_metadata.h71 static inline struct xfrm_md_info *lwt_xfrm_info(struct lwtunnel_state *lwt) in lwt_xfrm_info() argument
73 return (struct xfrm_md_info *)lwt->data; in lwt_xfrm_info()
/openbmc/linux/net/xfrm/
H A Dxfrm_interface_core.c69 static void xfrmi_destroy_state(struct lwtunnel_state *lwt) in xfrmi_destroy_state() argument
112 struct lwtunnel_state *lwt) in xfrmi_fill_encap_info() argument
114 struct xfrm_md_info *info = lwt_xfrm_info(lwt); in xfrmi_fill_encap_info()
/openbmc/linux/tools/bpf/bpftool/Documentation/
H A Dbpftool-net.rst51 For sk_{filter, skb, msg, reuseport} and lwt/seg6