/linux-6.1.9/include/net/ |
D | lwtunnel.h | 25 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 …]
|
D | mpls_iptunnel.h | 20 static inline struct mpls_iptunnel_encap *mpls_lwtunnel_encap(struct lwtunnel_state *lwtstate) in mpls_lwtunnel_encap()
|
D | ip_tunnels.h | 510 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()
|
D | dst_metadata.h | 70 static inline struct xfrm_md_info *lwt_xfrm_info(struct lwtunnel_state *lwt) in lwt_xfrm_info()
|
D | dst.h | 72 struct lwtunnel_state *lwtstate;
|
D | ip_fib.h | 89 struct lwtunnel_state *nhc_lwtstate;
|
/linux-6.1.9/net/core/ |
D | lwtunnel.c | 67 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()
|
D | lwt_bpf.c | 30 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/ |
D | ila_lwt.c | 27 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/ |
D | rpl_iptunnel.c | 24 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()
|
D | ioam6_iptunnel.c | 54 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()
|
D | seg6_iptunnel.c | 55 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()
|
D | seg6_local.c | 200 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/ |
D | mpls_iptunnel.c | 167 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/ |
D | ip_tunnel_core.c | 654 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()
|
D | fib_semantics.c | 596 struct lwtunnel_state *lwtstate; in fib_nh_common_init() 860 struct lwtunnel_state *lwtstate; in fib_encap_match()
|
/linux-6.1.9/net/xfrm/ |
D | xfrm_interface.c | 68 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()
|