Home
last modified time | relevance | path

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

12

/linux/include/net/tc_act/
H A 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/include/net/
H A Dip_tunnels.h93 GENMASK((sizeof_field(struct ip_tunnel_info, \
98 const struct ip_tunnel_info * : ((const void *)((info) + 1)),\
99 struct ip_tunnel_info * : ((void *)((info) + 1))\
102 struct ip_tunnel_info { struct
311 const struct ip_tunnel_info *info) in ip_tunnel_dst_cache_usable()
319 static inline unsigned short ip_tunnel_info_af(const struct ip_tunnel_info in ip_tunnel_info_af()
403 void ip_tunnel_md_udp_encap(struct sk_buff *skb, struct ip_tunnel_info *info);
651 const struct ip_tunnel_info *info) in ip_tunnel_info_opts_get()
656 static inline void ip_tunnel_info_opts_set(struct ip_tunnel_info *info, in ip_tunnel_info_opts_set()
668 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info()
[all …]
H A Ddst_metadata.h36 struct ip_tunnel_info tun_info;
53 static inline struct ip_tunnel_info *
167 sizeof(struct ip_tunnel_info) + md_size, in tun_dst_unclone()
189 static inline struct ip_tunnel_info *skb_tunnel_info_unclone(struct sk_buff *skb) in skb_tunnel_info_unclone()
241 struct ip_tunnel_info *info; in __ipv6_tun_set_dst()
/linux/net/ipv4/
H A Dip_tunnel_core.c130 struct ip_tunnel_info *dst, *src; in iptunnel_metadata_reply()
471 struct ip_tunnel_info *info, int opts_len, in ip_tun_parse_opts_geneve()
508 struct ip_tunnel_info *info, int opts_len, in ip_tun_parse_opts_vxlan()
536 struct ip_tunnel_info *info, int opts_len, in ip_tun_parse_opts_erspan()
584 static int ip_tun_parse_opts(struct nlattr *attr, struct ip_tunnel_info *info, in ip_tun_parse_opts()
647 static int ip_tun_set_opts(struct nlattr *attr, struct ip_tunnel_info *info, in ip_tun_set_opts()
660 struct ip_tunnel_info *tun_info; in ip_tun_build_state()
731 struct ip_tunnel_info *tun_info = lwt_tun_info(lwtstate); in ip_tun_destroy_state()
738 struct ip_tunnel_info *tun_info) in ip_tun_fill_encap_opts_geneve()
766 struct ip_tunnel_info *tun_info) in ip_tun_fill_encap_opts_vxlan()
[all …]
H A Dfou_bpf.c48 struct ip_tunnel_info *info = skb_tunnel_info(skb); in bpf_skb_set_fou_encap()
90 struct ip_tunnel_info *info = skb_tunnel_info(skb); in bpf_skb_get_fou_encap()
H A Dip_gre.c316 struct ip_tunnel_info *info; in erspan_rcv()
497 struct ip_tunnel_info *tun_info; in gre_fb_xmit()
540 struct ip_tunnel_info *tun_info; in erspan_fb_xmit()
623 struct ip_tunnel_info *info = skb_tunnel_info(skb); in gre_fill_metadata_dst()
H A Dudp_tunnel_core.c191 struct ip_tunnel_info *info; in udp_tun_rx_dst()
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.h42 struct ip_tunnel_info *mlx5e_dup_tun_info(const struct ip_tunnel_info *tun_info);
H A Dtc_tun_encap.c601 struct ip_tunnel_info *a_info; in mlx5e_tc_tun_encap_info_equal_options()
602 struct ip_tunnel_info *b_info; in mlx5e_tc_tun_encap_info_equal_options()
619 a_info = container_of(a->ip_tun_key, struct ip_tunnel_info, key); in mlx5e_tc_tun_encap_info_equal_options()
620 b_info = container_of(b->ip_tun_key, struct ip_tunnel_info, key); in mlx5e_tc_tun_encap_info_equal_options()
693 struct ip_tunnel_info *mlx5e_dup_tun_info(const struct ip_tunnel_info *tun_info) in mlx5e_dup_tun_info()
832 const struct ip_tunnel_info *tun_info; in mlx5e_attach_encap()
1361 const struct ip_tunnel_info *tun_info; in mlx5e_attach_encap_route()
H A Dtc_priv.h36 const struct ip_tunnel_info *tun_info[MLX5_MAX_FLOW_FWD_VPORTS];
/linux/net/netfilter/
H A Dnft_tunnel.c29 struct ip_tunnel_info *tun_info; in nft_tunnel_get_eval()
193 struct ip_tunnel_info *info) in nft_tunnel_obj_ip_init()
222 struct ip_tunnel_info *info) in nft_tunnel_obj_ip6_init()
387 struct ip_tunnel_info *info, in nft_tunnel_obj_opts_init()
450 struct ip_tunnel_info info; in nft_tunnel_obj_init()
541 static int nft_tunnel_ip_dump(struct sk_buff *skb, struct ip_tunnel_info *info) in nft_tunnel_ip_dump()
651 struct ip_tunnel_info *info) in nft_tunnel_ports_dump()
661 struct ip_tunnel_info *info) in nft_tunnel_flags_dump()
682 struct ip_tunnel_info *info = &priv->md->u.tun_info; in nft_tunnel_obj_dump()
H A Dnf_flow_table_offload.c33 struct ip_tunnel_info *tun_info) in nf_flow_rule_lwt_match()
96 struct ip_tunnel_info *tun_info; in nf_flow_rule_match()
591 struct ip_tunnel_info *tun_info; in flow_offload_encap_tunnel()
616 struct ip_tunnel_info *tun_info; in flow_offload_decap_tunnel()
/linux/drivers/net/
H A Dgeneve.c54 struct ip_tunnel_info info;
746 const struct ip_tunnel_info *info, in geneve_build_header()
764 const struct ip_tunnel_info *info, in geneve_build_skb()
799 const struct ip_tunnel_info *info, in geneve_get_dsfield()
816 const struct ip_tunnel_info *info) in geneve_xmit_skb()
855 struct ip_tunnel_info *info; in geneve_xmit_skb()
859 struct ip_tunnel_info *unclone; in geneve_xmit_skb()
927 const struct ip_tunnel_info *info) in geneve6_xmit_skb()
965 struct ip_tunnel_info *info = skb_tunnel_info(skb); in geneve6_xmit_skb()
968 struct ip_tunnel_info *unclone; in geneve6_xmit_skb()
[all …]
H A Dbareudp.c306 const struct ip_tunnel_info *info) in bareudp_xmit_skb()
376 const struct ip_tunnel_info *info) in bareudp6_xmit_skb()
464 struct ip_tunnel_info *info = NULL; in bareudp_xmit()
503 struct ip_tunnel_info *info = skb_tunnel_info(skb); in bareudp_fill_metadata_dst()
/linux/net/sched/
H A Dact_tunnel_key.c298 static int tunnel_key_opts_set(struct nlattr *nla, struct ip_tunnel_info *info, in tunnel_key_opts_set()
572 const struct ip_tunnel_info *info) in tunnel_key_geneve_opts_dump()
604 const struct ip_tunnel_info *info) in tunnel_key_vxlan_opts_dump()
623 const struct ip_tunnel_info *info) in tunnel_key_erspan_opts_dump()
654 const struct ip_tunnel_info *info) in tunnel_key_opts_dump()
689 const struct ip_tunnel_info *info) in tunnel_key_dump_addresses()
739 struct ip_tunnel_info *info = in tunnel_key_dump()
781 struct ip_tunnel_info *tunnel = priv; in tcf_tunnel_encap_put_tunnel()
/linux/net/psample/
H A Dpsample.c217 struct ip_tunnel_info *tun_info) in __psample_ip_tun_to_nlattr()
291 struct ip_tunnel_info *tun_info) in psample_ip_tun_to_nlattr()
311 static int psample_tunnel_meta_len(struct ip_tunnel_info *tun_info) in psample_tunnel_meta_len()
372 struct ip_tunnel_info *tun_info; in psample_sample_packet()
/linux/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.h95 struct efx_nic *efx, const struct ip_tunnel_info *info,
/linux/net/openvswitch/
H A Dflow_netlink.h50 struct ip_tunnel_info *tun_info);
H A Dvport.h192 const struct ip_tunnel_info *);
H A Ddatapath.h142 struct ip_tunnel_info *egress_tun_info;
H A Dflow.h290 int ovs_flow_key_extract(const struct ip_tunnel_info *tun_info,
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dact.h26 const struct ip_tunnel_info *tun_info;
/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c287 const struct ip_tunnel_info *tun = act->tunnel; in nfp_fl_get_tun_from_act()
334 struct ip_tunnel_info *ip_tun = (struct ip_tunnel_info *)act->tunnel; in nfp_fl_push_geneve_options()
417 const struct ip_tunnel_info *ip_tun = act->tunnel; in nfp_fl_set_tun()
1109 const struct ip_tunnel_info *ip_tun = act->tunnel; in nfp_flower_loop_action()
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h211 const struct ip_tunnel_info *tun_info;
/linux/net/bridge/
H A Dbr_vlan_tunnel.c166 struct ip_tunnel_info *tinfo = skb_tunnel_info(skb); in br_handle_ingress_vlan_tunnel()

12