Home
last modified time | relevance | path

Searched refs:ip_tunnel_info (Results 1 – 25 of 33) sorted by relevance

12

/Linux-v5.4/include/net/tc_act/
Dtc_tunnel_key.h51 static inline struct ip_tunnel_info *tcf_tunnel_info(const struct tc_action *a) in tcf_tunnel_info()
63 static inline struct ip_tunnel_info *
67 struct ip_tunnel_info *tun = tcf_tunnel_info(a); in tcf_tunnel_info_copy()
71 struct ip_tunnel_info *tun_copy = kmemdup(tun, tun_size, in tcf_tunnel_info_copy()
/Linux-v5.4/include/net/
Dip_tunnels.h66 GENMASK((FIELD_SIZEOF(struct ip_tunnel_info, \
69 struct ip_tunnel_info { struct
201 const struct ip_tunnel_info *info) in ip_tunnel_dst_cache_usable()
213 static inline unsigned short ip_tunnel_info_af(const struct ip_tunnel_info in ip_tunnel_info_af()
460 static inline void *ip_tunnel_info_opts(struct ip_tunnel_info *info) in ip_tunnel_info_opts()
466 const struct ip_tunnel_info *info) in ip_tunnel_info_opts_get()
471 static inline void ip_tunnel_info_opts_set(struct ip_tunnel_info *info, in ip_tunnel_info_opts_set()
480 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info()
482 return (struct ip_tunnel_info *)lwtstate->data; in lwt_tun_info()
500 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info()
[all …]
Ddst_metadata.h23 struct ip_tunnel_info tun_info;
38 static inline struct ip_tunnel_info *
123 sizeof(struct ip_tunnel_info) + md_size); in tun_dst_unclone()
130 static inline struct ip_tunnel_info *skb_tunnel_info_unclone(struct sk_buff *skb) in skb_tunnel_info_unclone()
182 struct ip_tunnel_info *info; in __ipv6_tun_set_dst()
Dflow_offload.h177 struct ip_tunnel_info *tunnel; /* FLOW_ACTION_TUNNEL_ENCAP */
/Linux-v5.4/net/netfilter/
Dnft_tunnel.c27 struct ip_tunnel_info *tun_info; in nft_tunnel_get_eval()
164 struct ip_tunnel_info *info) in nft_tunnel_obj_ip_init()
193 struct ip_tunnel_info *info) in nft_tunnel_obj_ip6_init()
307 struct ip_tunnel_info *info, in nft_tunnel_obj_opts_init()
346 struct ip_tunnel_info info; in nft_tunnel_obj_init()
436 static int nft_tunnel_ip_dump(struct sk_buff *skb, struct ip_tunnel_info *info) in nft_tunnel_ip_dump()
502 struct ip_tunnel_info *info) in nft_tunnel_ports_dump()
512 struct ip_tunnel_info *info) in nft_tunnel_flags_dump()
533 struct ip_tunnel_info *info = &priv->md->u.tun_info; in nft_tunnel_obj_dump()
/Linux-v5.4/net/ipv4/
Dip_tunnel_core.c125 struct ip_tunnel_info *dst, *src; in iptunnel_metadata_reply()
227 struct ip_tunnel_info *tun_info; in ip_tun_build_state()
282 struct ip_tunnel_info *tun_info = lwt_tun_info(lwtstate); in ip_tun_destroy_state()
291 struct ip_tunnel_info *tun_info = lwt_tun_info(lwtstate); in ip_tun_fill_encap_info()
318 sizeof(struct ip_tunnel_info)); in ip_tun_cmp_encap()
344 struct ip_tunnel_info *tun_info; in ip6_tun_build_state()
391 struct ip_tunnel_info *tun_info = lwt_tun_info(lwtstate); in ip6_tun_fill_encap_info()
Dudp_tunnel.c208 struct ip_tunnel_info *info; in udp_tun_rx_dst()
Dip_gre.c287 struct ip_tunnel_info *info; in erspan_rcv()
456 struct ip_tunnel_info *tun_info; in gre_fb_xmit()
494 struct ip_tunnel_info *tun_info; in erspan_fb_xmit()
570 struct ip_tunnel_info *info = skb_tunnel_info(skb); in gre_fill_metadata_dst()
Dip_tunnel.c552 struct ip_tunnel_info *tun_info; in ip_md_tunnel_xmit()
647 struct ip_tunnel_info *tun_info = NULL; in ip_tunnel_xmit()
/Linux-v5.4/drivers/net/
Dgeneve.c59 struct ip_tunnel_info info;
725 const struct ip_tunnel_info *info) in geneve_build_header()
741 const struct ip_tunnel_info *info, in geneve_build_skb()
776 const struct ip_tunnel_info *info) in geneve_get_v4_rt()
826 const struct ip_tunnel_info *info) in geneve_get_v6_dst()
874 const struct ip_tunnel_info *info) in geneve_xmit_skb()
937 const struct ip_tunnel_info *info) in geneve6_xmit_skb()
982 struct ip_tunnel_info *info = NULL; in geneve_xmit()
1032 struct ip_tunnel_info *info = skb_tunnel_info(skb); in geneve_fill_metadata_dst()
1218 const struct ip_tunnel_info *info, in geneve_find_dev()
[all …]
Dvxlan.c2219 const struct ip_tunnel_info *info) in vxlan_get_route()
2274 const struct ip_tunnel_info *info) in vxlan6_get_route()
2418 struct ip_tunnel_info *info; in vxlan_xmit_one()
2631 const struct ip_tunnel_info *info; in vxlan_xmit()
2911 struct ip_tunnel_info *info = skb_tunnel_info(skb); in vxlan_fill_metadata_dst()
/Linux-v5.4/net/sched/
Dact_tunnel_key.c169 static int tunnel_key_opts_set(struct nlattr *nla, struct ip_tunnel_info *info, in tunnel_key_opts_set()
426 const struct ip_tunnel_info *info) in tunnel_key_geneve_opts_dump()
458 const struct ip_tunnel_info *info) in tunnel_key_opts_dump()
485 const struct ip_tunnel_info *info) in tunnel_key_dump_addresses()
535 struct ip_tunnel_info *info = in tunnel_key_dump()
/Linux-v5.4/net/openvswitch/
Dflow_netlink.h50 struct ip_tunnel_info *tun_info);
Dvport.h172 const struct ip_tunnel_info *);
Ddatapath.h117 struct ip_tunnel_info *egress_tun_info;
Dflow.h274 int ovs_flow_key_extract(const struct ip_tunnel_info *tun_info,
Dvport.c425 const struct ip_tunnel_info *tun_info) in ovs_vport_receive()
Dflow.c842 int ovs_flow_key_extract(const struct ip_tunnel_info *tun_info, in ovs_flow_key_extract()
Dflow_netlink.c952 struct ip_tunnel_info *tun_info) in ovs_nla_put_tunnel_info()
2562 struct ip_tunnel_info *tun_info; in validate_and_copy_set_tun()
3376 struct ip_tunnel_info *tun_info = &ovs_tun->tun_dst->u.tun_info; in set_action_to_attr()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h165 const struct ip_tunnel_info *tun_info;
Den_tc.c142 const struct ip_tunnel_info *tun_info[MLX5_MAX_FLOW_FWD_VPORTS];
2978 static struct ip_tunnel_info *dup_tun_info(const struct ip_tunnel_info *tun_info) in dup_tun_info()
2996 const struct ip_tunnel_info *tun_info; in mlx5e_attach_encap()
3216 const struct ip_tunnel_info *info = NULL; in parse_tc_fdb_actions()
/Linux-v5.4/drivers/net/ethernet/netronome/nfp/flower/
Daction.c284 const struct ip_tunnel_info *tun = act->tunnel; in nfp_fl_get_tun_from_act()
331 struct ip_tunnel_info *ip_tun = (struct ip_tunnel_info *)act->tunnel; in nfp_fl_push_geneve_options()
404 const struct ip_tunnel_info *ip_tun = act->tunnel; in nfp_fl_set_ipv4_tun()
1017 const struct ip_tunnel_info *ip_tun = act->tunnel; in nfp_flower_loop_action()
/Linux-v5.4/net/bridge/
Dbr_vlan_tunnel.c159 struct ip_tunnel_info *tinfo = skb_tunnel_info(skb); in br_handle_ingress_vlan_tunnel()
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun_geneve.c96 const struct ip_tunnel_info *tun_info = e->tun_info; in mlx5e_gen_ip_tunnel_header_geneve()
/Linux-v5.4/net/ipv6/
Dip6_gre.c553 struct ip_tunnel_info *info; in ip6erspan_rcv()
728 struct ip_tunnel_info *tun_info; in __gre6_xmit()
962 struct ip_tunnel_info *tun_info; in ip6erspan_tunnel_xmit()

12