Home
last modified time | relevance | path

Searched refs:lwtunnel_state (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/include/net/
Dlwtunnel.h25 struct lwtunnel_state { struct
39 struct lwtunnel_state **ts, argument
41 void (*destroy_state)(struct lwtunnel_state *lws);
45 struct lwtunnel_state *lwtstate);
46 int (*get_encap_size)(struct lwtunnel_state *lwtstate);
47 int (*cmp_encap)(struct lwtunnel_state *a, struct lwtunnel_state *b);
57 void lwtstate_free(struct lwtunnel_state *lws);
59 static inline struct lwtunnel_state *
60 lwtstate_get(struct lwtunnel_state *lws) in lwtstate_get()
68 static inline void lwtstate_put(struct lwtunnel_state *lws) in lwtstate_put()
[all …]
Dmpls_iptunnel.h20 static inline struct mpls_iptunnel_encap *mpls_lwtunnel_encap(struct lwtunnel_state *lwtstate) in mpls_lwtunnel_encap()
Dip_tunnels.h510 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info()
530 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info()
Ddst_metadata.h70 static inline struct xfrm_md_info *lwt_xfrm_info(struct lwtunnel_state *lwt) in lwt_xfrm_info()
Ddst.h72 struct lwtunnel_state *lwtstate;
Dip_fib.h89 struct lwtunnel_state *nhc_lwtstate;
/linux-6.1.9/net/core/
Dlwtunnel.c67 struct lwtunnel_state *lwtunnel_state_alloc(int encap_len) in lwtunnel_state_alloc()
69 struct lwtunnel_state *lws; in lwtunnel_state_alloc()
113 const void *cfg, struct lwtunnel_state **lws, in lwtunnel_build_state()
221 void lwtstate_free(struct lwtunnel_state *lws) in lwtstate_free()
235 int lwtunnel_fill_encap(struct sk_buff *skb, struct lwtunnel_state *lwtstate, in lwtunnel_fill_encap()
276 int lwtunnel_get_encap_size(struct lwtunnel_state *lwtstate) in lwtunnel_get_encap_size()
298 int lwtunnel_cmp_encap(struct lwtunnel_state *a, struct lwtunnel_state *b) in lwtunnel_cmp_encap()
330 struct lwtunnel_state *lwtstate; in lwtunnel_output()
364 struct lwtunnel_state *lwtstate; in lwtunnel_xmit()
399 struct lwtunnel_state *lwtstate; in lwtunnel_input()
Dlwt_bpf.c30 static inline struct bpf_lwt *bpf_lwt_lwtunnel(struct lwtunnel_state *lwt) in bpf_lwt_lwtunnel()
318 static void bpf_destroy_state(struct lwtunnel_state *lwt) in bpf_destroy_state()
372 struct lwtunnel_state **ts, in bpf_build_state()
376 struct lwtunnel_state *newts; in bpf_build_state()
463 static int bpf_fill_encap_info(struct sk_buff *skb, struct lwtunnel_state *lwt) in bpf_fill_encap_info()
475 static int bpf_encap_nlsize(struct lwtunnel_state *lwtstate) in bpf_encap_nlsize()
502 static int bpf_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in bpf_encap_cmp()
/linux-6.1.9/net/ipv6/ila/
Dila_lwt.c27 struct lwtunnel_state *lwt) in ila_lwt_lwtunnel()
33 struct lwtunnel_state *lwt) in ila_params_lwtunnel()
130 struct lwtunnel_state **ts, in ila_build_state()
136 struct lwtunnel_state *newts; in ila_build_state()
257 static void ila_destroy_state(struct lwtunnel_state *lwt) in ila_destroy_state()
263 struct lwtunnel_state *lwtstate) in ila_fill_encap_info()
289 static int ila_encap_nlsize(struct lwtunnel_state *lwtstate) in ila_encap_nlsize()
298 static int ila_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in ila_encap_cmp()
/linux-6.1.9/net/ipv6/
Drpl_iptunnel.c24 static inline struct rpl_lwt *rpl_lwt_lwtunnel(struct lwtunnel_state *lwt) in rpl_lwt_lwtunnel()
30 rpl_encap_lwtunnel(struct lwtunnel_state *lwt) in rpl_encap_lwtunnel()
69 struct lwtunnel_state **ts, in rpl_build_state()
73 struct lwtunnel_state *newts; in rpl_build_state()
122 static void rpl_destroy_state(struct lwtunnel_state *lwt) in rpl_destroy_state()
317 struct lwtunnel_state *lwtstate) in rpl_fill_encap_info()
327 static int rpl_encap_nlsize(struct lwtunnel_state *lwtstate) in rpl_encap_nlsize()
334 static int rpl_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in rpl_encap_cmp()
Dioam6_iptunnel.c54 static struct ioam6_lwt *ioam6_lwt_state(struct lwtunnel_state *lwt) in ioam6_lwt_state()
59 static struct ioam6_lwt_encap *ioam6_lwt_info(struct lwtunnel_state *lwt) in ioam6_lwt_info()
64 static struct ioam6_trace_hdr *ioam6_lwt_trace(struct lwtunnel_state *lwt) in ioam6_lwt_trace()
104 struct lwtunnel_state **ts, in ioam6_build_state()
110 struct lwtunnel_state *lwt; in ioam6_build_state()
393 static void ioam6_destroy_state(struct lwtunnel_state *lwt) in ioam6_destroy_state()
399 struct lwtunnel_state *lwtstate) in ioam6_fill_encap_info()
428 static int ioam6_encap_nlsize(struct lwtunnel_state *lwtstate) in ioam6_encap_nlsize()
444 static int ioam6_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in ioam6_encap_cmp()
Dseg6_iptunnel.c55 static inline struct seg6_lwt *seg6_lwt_lwtunnel(struct lwtunnel_state *lwt) in seg6_lwt_lwtunnel()
61 seg6_encap_lwtunnel(struct lwtunnel_state *lwt) in seg6_encap_lwtunnel()
609 struct lwtunnel_state **ts, in seg6_build_state()
614 struct lwtunnel_state *newts; in seg6_build_state()
691 static void seg6_destroy_state(struct lwtunnel_state *lwt) in seg6_destroy_state()
697 struct lwtunnel_state *lwtstate) in seg6_fill_encap_info()
707 static int seg6_encap_nlsize(struct lwtunnel_state *lwtstate) in seg6_encap_nlsize()
714 static int seg6_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in seg6_encap_cmp()
Dseg6_local.c200 static struct seg6_local_lwt *seg6_local_lwtunnel(struct lwtunnel_state *lwt) in seg6_local_lwtunnel()
2105 struct lwtunnel_state **ts, in seg6_local_build_state()
2109 struct lwtunnel_state *newts; in seg6_local_build_state()
2155 static void seg6_local_destroy_state(struct lwtunnel_state *lwt) in seg6_local_destroy_state()
2167 struct lwtunnel_state *lwt) in seg6_local_fill_encap()
2191 static int seg6_local_get_encap_size(struct lwtunnel_state *lwt) in seg6_local_get_encap_size()
2242 static int seg6_local_cmp_encap(struct lwtunnel_state *a, in seg6_local_cmp_encap()
2243 struct lwtunnel_state *b) in seg6_local_cmp_encap()
/linux-6.1.9/net/mpls/
Dmpls_iptunnel.c167 struct lwtunnel_state **ts, in mpls_build_state()
172 struct lwtunnel_state *newts; in mpls_build_state()
229 struct lwtunnel_state *lwtstate) in mpls_fill_encap_info()
249 static int mpls_encap_nlsize(struct lwtunnel_state *lwtstate) in mpls_encap_nlsize()
264 static int mpls_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in mpls_encap_cmp()
/linux-6.1.9/net/ipv4/
Dip_tunnel_core.c654 struct lwtunnel_state **ts, in ip_tun_build_state()
658 struct lwtunnel_state *new_state; in ip_tun_build_state()
721 static void ip_tun_destroy_state(struct lwtunnel_state *lwtstate) in ip_tun_destroy_state()
839 struct lwtunnel_state *lwtstate) in ip_tun_fill_encap_info()
895 static int ip_tun_encap_nlsize(struct lwtunnel_state *lwtstate) in ip_tun_encap_nlsize()
907 static int ip_tun_cmp_encap(struct lwtunnel_state *a, struct lwtunnel_state *b) in ip_tun_cmp_encap()
941 struct lwtunnel_state **ts, in ip6_tun_build_state()
945 struct lwtunnel_state *new_state; in ip6_tun_build_state()
1001 struct lwtunnel_state *lwtstate) in ip6_tun_fill_encap_info()
1018 static int ip6_tun_encap_nlsize(struct lwtunnel_state *lwtstate) in ip6_tun_encap_nlsize()
Dfib_semantics.c596 struct lwtunnel_state *lwtstate; in fib_nh_common_init()
860 struct lwtunnel_state *lwtstate; in fib_encap_match()
/linux-6.1.9/net/xfrm/
Dxfrm_interface.c68 static void xfrmi_destroy_state(struct lwtunnel_state *lwt) in xfrmi_destroy_state()
74 struct lwtunnel_state **ts, in xfrmi_build_state()
78 struct lwtunnel_state *new_state; in xfrmi_build_state()
111 struct lwtunnel_state *lwt) in xfrmi_fill_encap_info()
122 static int xfrmi_encap_nlsize(struct lwtunnel_state *lwtstate) in xfrmi_encap_nlsize()
128 static int xfrmi_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in xfrmi_encap_cmp()