/linux-6.6.21/include/net/ |
D | lwtunnel.h | 28 struct lwtunnel_state { struct 42 struct lwtunnel_state **ts, argument 44 void (*destroy_state)(struct lwtunnel_state *lws); 48 struct lwtunnel_state *lwtstate); 49 int (*get_encap_size)(struct lwtunnel_state *lwtstate); 50 int (*cmp_encap)(struct lwtunnel_state *a, struct lwtunnel_state *b); 60 void lwtstate_free(struct lwtunnel_state *lws); 62 static inline struct lwtunnel_state * 63 lwtstate_get(struct lwtunnel_state *lws) in lwtstate_get() 71 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 | dst.h | 78 struct lwtunnel_state *lwtstate; 93 struct lwtunnel_state *lwtstate;
|
D | ip_tunnels.h | 514 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info() 534 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info()
|
D | dst_metadata.h | 71 static inline struct xfrm_md_info *lwt_xfrm_info(struct lwtunnel_state *lwt) in lwt_xfrm_info()
|
D | ip_fib.h | 89 struct lwtunnel_state *nhc_lwtstate;
|
/linux-6.6.21/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() 317 static void bpf_destroy_state(struct lwtunnel_state *lwt) in bpf_destroy_state() 371 struct lwtunnel_state **ts, in bpf_build_state() 375 struct lwtunnel_state *newts; in bpf_build_state() 462 static int bpf_fill_encap_info(struct sk_buff *skb, struct lwtunnel_state *lwt) in bpf_fill_encap_info() 474 static int bpf_encap_nlsize(struct lwtunnel_state *lwtstate) in bpf_encap_nlsize() 501 static int bpf_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in bpf_encap_cmp()
|
/linux-6.6.21/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.6.21/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() 316 struct lwtunnel_state *lwtstate) in rpl_fill_encap_info() 326 static int rpl_encap_nlsize(struct lwtunnel_state *lwtstate) in rpl_encap_nlsize() 333 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() 608 struct lwtunnel_state **ts, in seg6_build_state() 613 struct lwtunnel_state *newts; in seg6_build_state() 690 static void seg6_destroy_state(struct lwtunnel_state *lwt) in seg6_destroy_state() 696 struct lwtunnel_state *lwtstate) in seg6_fill_encap_info() 706 static int seg6_encap_nlsize(struct lwtunnel_state *lwtstate) in seg6_encap_nlsize() 713 static int seg6_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in seg6_encap_cmp()
|
D | seg6_local.c | 211 static struct seg6_local_lwt *seg6_local_lwtunnel(struct lwtunnel_state *lwt) in seg6_local_lwtunnel() 2495 struct lwtunnel_state **ts, in seg6_local_build_state() 2499 struct lwtunnel_state *newts; in seg6_local_build_state() 2545 static void seg6_local_destroy_state(struct lwtunnel_state *lwt) in seg6_local_destroy_state() 2557 struct lwtunnel_state *lwt) in seg6_local_fill_encap() 2581 static int seg6_local_get_encap_size(struct lwtunnel_state *lwt) in seg6_local_get_encap_size() 2632 static int seg6_local_cmp_encap(struct lwtunnel_state *a, in seg6_local_cmp_encap() 2633 struct lwtunnel_state *b) in seg6_local_cmp_encap()
|
/linux-6.6.21/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.6.21/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 | 597 struct lwtunnel_state *lwtstate; in fib_nh_common_init() 861 struct lwtunnel_state *lwtstate; in fib_encap_match()
|
/linux-6.6.21/net/xfrm/ |
D | xfrm_interface_core.c | 69 static void xfrmi_destroy_state(struct lwtunnel_state *lwt) in xfrmi_destroy_state() 75 struct lwtunnel_state **ts, in xfrmi_build_state() 79 struct lwtunnel_state *new_state; in xfrmi_build_state() 112 struct lwtunnel_state *lwt) in xfrmi_fill_encap_info() 123 static int xfrmi_encap_nlsize(struct lwtunnel_state *lwtstate) in xfrmi_encap_nlsize() 129 static int xfrmi_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in xfrmi_encap_cmp()
|