Searched refs:lwtunnel_state (Results 1 – 15 of 15) sorted by relevance
/Linux-v4.19/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); 54 void lwtstate_free(struct lwtunnel_state *lws); 56 static inline struct lwtunnel_state * 57 lwtstate_get(struct lwtunnel_state *lws) in lwtstate_get() 65 static inline void lwtstate_put(struct lwtunnel_state *lws) in lwtstate_put() [all …]
|
D | mpls_iptunnel.h | 25 static inline struct mpls_iptunnel_encap *mpls_lwtunnel_encap(struct lwtunnel_state *lwtstate) in mpls_lwtunnel_encap()
|
D | ip6_fib.h | 129 struct lwtunnel_state *nh_lwtstate; 426 struct lwtunnel_state *fib6_info_nh_lwt(const struct fib6_info *f6i) in fib6_info_nh_lwt()
|
D | ip_tunnels.h | 477 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info() 497 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info()
|
D | dst.h | 83 struct lwtunnel_state *lwtstate;
|
D | ip_fib.h | 99 struct lwtunnel_state *nh_lwtstate;
|
/Linux-v4.19/net/core/ |
D | lwtunnel.c | 62 struct lwtunnel_state *lwtunnel_state_alloc(int encap_len) in lwtunnel_state_alloc() 64 struct lwtunnel_state *lws; in lwtunnel_state_alloc() 108 const void *cfg, struct lwtunnel_state **lws, in lwtunnel_build_state() 212 void lwtstate_free(struct lwtunnel_state *lws) in lwtstate_free() 226 int lwtunnel_fill_encap(struct sk_buff *skb, struct lwtunnel_state *lwtstate) in lwtunnel_fill_encap() 266 int lwtunnel_get_encap_size(struct lwtunnel_state *lwtstate) in lwtunnel_get_encap_size() 288 int lwtunnel_cmp_encap(struct lwtunnel_state *a, struct lwtunnel_state *b) in lwtunnel_cmp_encap() 320 struct lwtunnel_state *lwtstate; in lwtunnel_output() 354 struct lwtunnel_state *lwtstate; in lwtunnel_xmit() 389 struct lwtunnel_state *lwtstate; in lwtunnel_input()
|
D | lwt_bpf.c | 34 static inline struct bpf_lwt *bpf_lwt_lwtunnel(struct lwtunnel_state *lwt) in bpf_lwt_lwtunnel() 187 static void bpf_destroy_state(struct lwtunnel_state *lwt) in bpf_destroy_state() 241 struct lwtunnel_state **ts, in bpf_build_state() 245 struct lwtunnel_state *newts; in bpf_build_state() 331 static int bpf_fill_encap_info(struct sk_buff *skb, struct lwtunnel_state *lwt) in bpf_fill_encap_info() 343 static int bpf_encap_nlsize(struct lwtunnel_state *lwtstate) in bpf_encap_nlsize() 370 static int bpf_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in bpf_encap_cmp()
|
/Linux-v4.19/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() 256 static void ila_destroy_state(struct lwtunnel_state *lwt) in ila_destroy_state() 262 struct lwtunnel_state *lwtstate) in ila_fill_encap_info() 288 static int ila_encap_nlsize(struct lwtunnel_state *lwtstate) in ila_encap_nlsize() 297 static int ila_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in ila_encap_cmp()
|
/Linux-v4.19/net/ipv4/ |
D | ip_tunnel_core.c | 233 struct lwtunnel_state **ts, in ip_tun_build_state() 237 struct lwtunnel_state *new_state; in ip_tun_build_state() 281 struct lwtunnel_state *lwtstate) in ip_tun_fill_encap_info() 297 static int ip_tun_encap_nlsize(struct lwtunnel_state *lwtstate) in ip_tun_encap_nlsize() 307 static int ip_tun_cmp_encap(struct lwtunnel_state *a, struct lwtunnel_state *b) in ip_tun_cmp_encap() 332 struct lwtunnel_state **ts, in ip6_tun_build_state() 336 struct lwtunnel_state *new_state; in ip6_tun_build_state() 380 struct lwtunnel_state *lwtstate) in ip6_tun_fill_encap_info() 396 static int ip6_tun_encap_nlsize(struct lwtunnel_state *lwtstate) in ip6_tun_encap_nlsize()
|
D | fib_semantics.c | 524 struct lwtunnel_state *lwtstate; in fib_get_nhs() 616 struct lwtunnel_state *lwtstate; in fib_encap_match() 1148 struct lwtunnel_state *lwtstate; in fib_create_info()
|
/Linux-v4.19/net/mpls/ |
D | mpls_iptunnel.c | 162 struct lwtunnel_state **ts, in mpls_build_state() 167 struct lwtunnel_state *newts; in mpls_build_state() 224 struct lwtunnel_state *lwtstate) in mpls_fill_encap_info() 244 static int mpls_encap_nlsize(struct lwtunnel_state *lwtstate) in mpls_encap_nlsize() 259 static int mpls_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in mpls_encap_cmp()
|
/Linux-v4.19/net/ipv6/ |
D | seg6_iptunnel.c | 40 static inline struct seg6_lwt *seg6_lwt_lwtunnel(struct lwtunnel_state *lwt) in seg6_lwt_lwtunnel() 46 seg6_encap_lwtunnel(struct lwtunnel_state *lwt) in seg6_encap_lwtunnel() 383 struct lwtunnel_state **ts, in seg6_build_state() 388 struct lwtunnel_state *newts; in seg6_build_state() 461 static void seg6_destroy_state(struct lwtunnel_state *lwt) in seg6_destroy_state() 467 struct lwtunnel_state *lwtstate) in seg6_fill_encap_info() 477 static int seg6_encap_nlsize(struct lwtunnel_state *lwtstate) in seg6_encap_nlsize() 484 static int seg6_encap_cmp(struct lwtunnel_state *a, struct lwtunnel_state *b) in seg6_encap_cmp()
|
D | seg6_local.c | 66 static struct seg6_local_lwt *seg6_local_lwtunnel(struct lwtunnel_state *lwt) in seg6_local_lwtunnel() 951 const void *cfg, struct lwtunnel_state **ts, in seg6_local_build_state() 955 struct lwtunnel_state *newts; in seg6_local_build_state() 996 static void seg6_local_destroy_state(struct lwtunnel_state *lwt) in seg6_local_destroy_state() 1011 struct lwtunnel_state *lwt) in seg6_local_fill_encap() 1032 static int seg6_local_get_encap_size(struct lwtunnel_state *lwt) in seg6_local_get_encap_size() 1068 static int seg6_local_cmp_encap(struct lwtunnel_state *a, in seg6_local_cmp_encap() 1069 struct lwtunnel_state *b) in seg6_local_cmp_encap()
|
D | route.c | 3050 struct lwtunnel_state *lwtstate; in ip6_route_info_create()
|