Home
last modified time | relevance | path

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

12

/Linux-v5.10/include/net/tc_act/
Dtc_tunnel_key.h55 static inline struct ip_tunnel_info *tcf_tunnel_info(const struct tc_action *a) in tcf_tunnel_info()
70 static inline struct ip_tunnel_info *
74 struct ip_tunnel_info *tun = tcf_tunnel_info(a); in tcf_tunnel_info_copy()
78 struct ip_tunnel_info *tun_copy = kmemdup(tun, tun_size, in tcf_tunnel_info_copy()
/Linux-v5.10/include/net/
Dip_tunnels.h66 GENMASK((sizeof_field(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()
466 static inline void *ip_tunnel_info_opts(struct ip_tunnel_info *info) in ip_tunnel_info_opts()
472 const struct ip_tunnel_info *info) in ip_tunnel_info_opts_get()
477 static inline void ip_tunnel_info_opts_set(struct ip_tunnel_info *info, in ip_tunnel_info_opts_set()
488 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info()
490 return (struct ip_tunnel_info *)lwtstate->data; in lwt_tun_info()
508 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.h217 struct ip_tunnel_info *tunnel; /* FLOW_ACTION_TUNNEL_ENCAP */
Droute.h134 const struct ip_tunnel_info *info,
/Linux-v5.10/net/ipv4/
Dip_tunnel_core.c129 struct ip_tunnel_info *dst, *src; in iptunnel_metadata_reply()
479 struct ip_tunnel_info *info, int opts_len, in ip_tun_parse_opts_geneve()
516 struct ip_tunnel_info *info, int opts_len, in ip_tun_parse_opts_vxlan()
544 struct ip_tunnel_info *info, int opts_len, in ip_tun_parse_opts_erspan()
592 static int ip_tun_parse_opts(struct nlattr *attr, struct ip_tunnel_info *info, in ip_tun_parse_opts()
654 static int ip_tun_set_opts(struct nlattr *attr, struct ip_tunnel_info *info, in ip_tun_set_opts()
667 struct ip_tunnel_info *tun_info; in ip_tun_build_state()
732 struct ip_tunnel_info *tun_info = lwt_tun_info(lwtstate); in ip_tun_destroy_state()
739 struct ip_tunnel_info *tun_info) in ip_tun_fill_encap_opts_geneve()
767 struct ip_tunnel_info *tun_info) in ip_tun_fill_encap_opts_vxlan()
[all …]
Dudp_tunnel_core.c206 struct ip_tunnel_info *info; in udp_tun_rx_dst()
Dip_gre.c305 struct ip_tunnel_info *info; in erspan_rcv()
478 struct ip_tunnel_info *tun_info; in gre_fb_xmit()
516 struct ip_tunnel_info *tun_info; in erspan_fb_xmit()
592 struct ip_tunnel_info *info = skb_tunnel_info(skb); in gre_fill_metadata_dst()
Dip_tunnel.c544 struct ip_tunnel_info *tun_info; in ip_md_tunnel_xmit()
636 struct ip_tunnel_info *tun_info = NULL; in ip_tunnel_xmit()
/Linux-v5.10/net/netfilter/
Dnft_tunnel.c28 struct ip_tunnel_info *tun_info; in nft_tunnel_get_eval()
166 struct ip_tunnel_info *info) in nft_tunnel_obj_ip_init()
195 struct ip_tunnel_info *info) in nft_tunnel_obj_ip6_init()
357 struct ip_tunnel_info *info, in nft_tunnel_obj_opts_init()
419 struct ip_tunnel_info info; in nft_tunnel_obj_init()
509 static int nft_tunnel_ip_dump(struct sk_buff *skb, struct ip_tunnel_info *info) in nft_tunnel_ip_dump()
619 struct ip_tunnel_info *info) in nft_tunnel_ports_dump()
629 struct ip_tunnel_info *info) in nft_tunnel_flags_dump()
650 struct ip_tunnel_info *info = &priv->md->u.tun_info; in nft_tunnel_obj_dump()
Dnf_flow_table_offload.c32 struct ip_tunnel_info *tun_info) in nf_flow_rule_lwt_match()
85 struct ip_tunnel_info *tun_info; in nf_flow_rule_match()
488 struct ip_tunnel_info *tun_info; in flow_offload_encap_tunnel()
508 struct ip_tunnel_info *tun_info; in flow_offload_decap_tunnel()
/Linux-v5.10/drivers/net/
Dgeneve.c52 struct ip_tunnel_info info;
723 const struct ip_tunnel_info *info) in geneve_build_header()
739 const struct ip_tunnel_info *info, in geneve_build_skb()
774 const struct ip_tunnel_info *info, in geneve_get_v4_rt()
827 const struct ip_tunnel_info *info, in geneve_get_v6_dst()
881 const struct ip_tunnel_info *info) in geneve_xmit_skb()
906 struct ip_tunnel_info *info; in geneve_xmit_skb()
968 const struct ip_tunnel_info *info) in geneve6_xmit_skb()
992 struct ip_tunnel_info *info = skb_tunnel_info(skb); in geneve6_xmit_skb()
1037 struct ip_tunnel_info *info = NULL; in geneve_xmit()
[all …]
Dbareudp.c282 const struct ip_tunnel_info *info) in bareudp_xmit_skb()
345 const struct ip_tunnel_info *info) in bareudp6_xmit_skb()
427 struct ip_tunnel_info *info = NULL; in bareudp_xmit()
466 struct ip_tunnel_info *info = skb_tunnel_info(skb); in bareudp_fill_metadata_dst()
/Linux-v5.10/net/sched/
Dact_tunnel_key.c297 static int tunnel_key_opts_set(struct nlattr *nla, struct ip_tunnel_info *info, in tunnel_key_opts_set()
568 const struct ip_tunnel_info *info) in tunnel_key_geneve_opts_dump()
600 const struct ip_tunnel_info *info) in tunnel_key_vxlan_opts_dump()
619 const struct ip_tunnel_info *info) in tunnel_key_erspan_opts_dump()
650 const struct ip_tunnel_info *info) in tunnel_key_opts_dump()
685 const struct ip_tunnel_info *info) in tunnel_key_dump_addresses()
735 struct ip_tunnel_info *info = in tunnel_key_dump()
/Linux-v5.10/net/psample/
Dpsample.c214 struct ip_tunnel_info *tun_info) in __psample_ip_tun_to_nlattr()
287 struct ip_tunnel_info *tun_info) in psample_ip_tun_to_nlattr()
307 static int psample_tunnel_meta_len(struct ip_tunnel_info *tun_info) in psample_tunnel_meta_len()
363 struct ip_tunnel_info *tun_info; in psample_sample_packet()
/Linux-v5.10/net/openvswitch/
Dflow_netlink.h50 struct ip_tunnel_info *tun_info);
Dvport.h172 const struct ip_tunnel_info *);
Ddatapath.h121 struct ip_tunnel_info *egress_tun_info;
Dflow.h276 int ovs_flow_key_extract(const struct ip_tunnel_info *tun_info,
Dvport.c429 const struct ip_tunnel_info *tun_info) in ovs_vport_receive()
/Linux-v5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h185 const struct ip_tunnel_info *tun_info;
/Linux-v5.10/drivers/net/ethernet/netronome/nfp/flower/
Daction.c285 const struct ip_tunnel_info *tun = act->tunnel; in nfp_fl_get_tun_from_act()
332 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_tun()
1046 const struct ip_tunnel_info *ip_tun = act->tunnel; in nfp_flower_loop_action()
/Linux-v5.10/net/bridge/
Dbr_vlan_tunnel.c160 struct ip_tunnel_info *tinfo = skb_tunnel_info(skb); in br_handle_ingress_vlan_tunnel()
/Linux-v5.10/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.10/net/ipv6/
Dip6_gre.c558 struct ip_tunnel_info *info; in ip6erspan_rcv()
710 static struct ip_tunnel_info *skb_tunnel_info_txcheck(struct sk_buff *skb) in skb_tunnel_info_txcheck()
712 struct ip_tunnel_info *tun_info; in skb_tunnel_info_txcheck()
744 struct ip_tunnel_info *tun_info; in __gre6_xmit()
931 struct ip_tunnel_info *tun_info = NULL; in ip6erspan_tunnel_xmit()

12