Home
last modified time | relevance | path

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

12

/openbmc/linux/include/net/
H A Dip_tunnels.h75 GENMASK((sizeof_field(struct ip_tunnel_info, \
80 const struct ip_tunnel_info * : ((const void *)((info) + 1)),\
81 struct ip_tunnel_info * : ((void *)((info) + 1))\
84 struct ip_tunnel_info { struct
213 const struct ip_tunnel_info *info) in ip_tunnel_dst_cache_usable()
225 static inline unsigned short ip_tunnel_info_af(const struct ip_tunnel_info in ip_tunnel_info_af()
532 const struct ip_tunnel_info *info) in ip_tunnel_info_opts_get()
537 static inline void ip_tunnel_info_opts_set(struct ip_tunnel_info *info, in ip_tunnel_info_opts_set()
550 return (struct ip_tunnel_info *)lwtstate->data; in lwt_tun_info()
582 const struct ip_tunnel_info *info) in ip_tunnel_info_opts_get()
[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()
186 static inline struct ip_tunnel_info *skb_tunnel_info_unclone(struct sk_buff *skb) in skb_tunnel_info_unclone()
238 struct ip_tunnel_info *info; in __ipv6_tun_set_dst()
H A Droute.h56 struct ip_tunnel_info;
142 const struct ip_tunnel_info *info,
/openbmc/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()
/openbmc/linux/net/ipv4/
H A Dip_tunnel_core.c129 struct ip_tunnel_info *dst, *src; in iptunnel_metadata_reply()
470 struct ip_tunnel_info *info, int opts_len, in ip_tun_parse_opts_geneve()
507 struct ip_tunnel_info *info, int opts_len, in ip_tun_parse_opts_vxlan()
659 struct ip_tunnel_info *tun_info; in ip_tun_build_state()
731 struct ip_tunnel_info *tun_info) in ip_tun_fill_encap_opts_geneve()
759 struct ip_tunnel_info *tun_info) in ip_tun_fill_encap_opts_vxlan()
779 struct ip_tunnel_info *tun_info) in ip_tun_fill_encap_opts_erspan()
810 struct ip_tunnel_info *tun_info) in ip_tun_fill_encap_opts()
909 struct ip_tunnel_info *info_a = lwt_tun_info(a); in ip_tun_cmp_encap()
910 struct ip_tunnel_info *info_b = lwt_tun_info(b); in ip_tun_cmp_encap()
[all …]
H A Dfou_bpf.c50 struct ip_tunnel_info *info = skb_tunnel_info(skb); in bpf_skb_set_fou_encap()
92 struct ip_tunnel_info *info = skb_tunnel_info(skb); in bpf_skb_get_fou_encap()
H A Dudp_tunnel_core.c189 struct ip_tunnel_info *info; in udp_tun_rx_dst()
/openbmc/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.c592 struct ip_tunnel_info *a_info; in mlx5e_tc_tun_encap_info_equal_options()
593 struct ip_tunnel_info *b_info; in mlx5e_tc_tun_encap_info_equal_options()
610 a_info = container_of(a->ip_tun_key, struct ip_tunnel_info, key); in mlx5e_tc_tun_encap_info_equal_options()
611 b_info = container_of(b->ip_tun_key, struct ip_tunnel_info, key); in mlx5e_tc_tun_encap_info_equal_options()
684 struct ip_tunnel_info *mlx5e_dup_tun_info(const struct ip_tunnel_info *tun_info) in mlx5e_dup_tun_info()
823 const struct ip_tunnel_info *tun_info; in mlx5e_attach_encap()
1352 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];
/openbmc/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()
384 struct ip_tunnel_info *info, in nft_tunnel_obj_opts_init()
447 struct ip_tunnel_info info; in nft_tunnel_obj_init()
537 static int nft_tunnel_ip_dump(struct sk_buff *skb, struct ip_tunnel_info *info) in nft_tunnel_ip_dump()
647 struct ip_tunnel_info *info) in nft_tunnel_ports_dump()
657 struct ip_tunnel_info *info) in nft_tunnel_flags_dump()
678 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()
/openbmc/linux/drivers/net/
H A Dgeneve.c54 struct ip_tunnel_info info;
751 const struct ip_tunnel_info *info, in geneve_build_header()
768 const struct ip_tunnel_info *info, in geneve_build_skb()
916 const struct ip_tunnel_info *info) in geneve_xmit_skb()
946 struct ip_tunnel_info *info; in geneve_xmit_skb()
950 struct ip_tunnel_info *unclone; in geneve_xmit_skb()
1017 const struct ip_tunnel_info *info) in geneve6_xmit_skb()
1048 struct ip_tunnel_info *unclone; in geneve6_xmit_skb()
1099 struct ip_tunnel_info *info = NULL; in geneve_xmit()
1348 const struct ip_tunnel_info *info, in geneve_find_dev()
[all …]
H A Dbareudp.c308 const struct ip_tunnel_info *info) in bareudp_xmit_skb()
374 const struct ip_tunnel_info *info) in bareudp6_xmit_skb()
459 struct ip_tunnel_info *info = NULL; in bareudp_xmit()
498 struct ip_tunnel_info *info = skb_tunnel_info(skb); in bareudp_fill_metadata_dst()
/openbmc/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()
/openbmc/linux/net/psample/
H A Dpsample.c217 struct ip_tunnel_info *tun_info) in __psample_ip_tun_to_nlattr()
290 struct ip_tunnel_info *tun_info) in psample_ip_tun_to_nlattr()
310 static int psample_tunnel_meta_len(struct ip_tunnel_info *tun_info) in psample_tunnel_meta_len()
369 struct ip_tunnel_info *tun_info; in psample_sample_packet()
/openbmc/linux/drivers/net/ethernet/sfc/
H A Dtc_encap_actions.h95 struct efx_nic *efx, const struct ip_tunnel_info *info,
/openbmc/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.h139 struct ip_tunnel_info *egress_tun_info;
H A Dflow.h290 int ovs_flow_key_extract(const struct ip_tunnel_info *tun_info,
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/tc/act/
H A Dact.h26 const struct ip_tunnel_info *tun_info;
/openbmc/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()
406 const struct ip_tunnel_info *ip_tun = act->tunnel; in nfp_fl_set_tun()
1094 const struct ip_tunnel_info *ip_tun = act->tunnel; in nfp_flower_loop_action()
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h211 const struct ip_tunnel_info *tun_info;
/openbmc/linux/net/bridge/
H A Dbr_vlan_tunnel.c165 struct ip_tunnel_info *tinfo = skb_tunnel_info(skb); in br_handle_ingress_vlan_tunnel()

12