Home
last modified time | relevance | path

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

12

/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
470 static inline void *ip_tunnel_info_opts(struct ip_tunnel_info *info) in ip_tunnel_info_opts()
476 const struct ip_tunnel_info *info) in ip_tunnel_info_opts_get()
481 static inline void ip_tunnel_info_opts_set(struct ip_tunnel_info *info, in ip_tunnel_info_opts_set()
492 static inline struct ip_tunnel_info *lwt_tun_info(struct lwtunnel_state *lwtstate) in lwt_tun_info()
494 return (struct ip_tunnel_info *)lwtstate->data; in lwt_tun_info()
512 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 *
125 sizeof(struct ip_tunnel_info) + md_size); in tun_dst_unclone()
132 static inline struct ip_tunnel_info *skb_tunnel_info_unclone(struct sk_buff *skb) in skb_tunnel_info_unclone()
184 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,
/kernel/linux/linux-5.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.c207 struct ip_tunnel_info *info; in udp_tun_rx_dst()
Dip_gre.c305 struct ip_tunnel_info *info; in erspan_rcv()
476 struct ip_tunnel_info *tun_info; in gre_fb_xmit()
514 struct ip_tunnel_info *tun_info; in erspan_fb_xmit()
595 struct ip_tunnel_info *info = skb_tunnel_info(skb); in gre_fill_metadata_dst()
/kernel/linux/linux-5.10/net/netfilter/
Dnft_tunnel.c28 struct ip_tunnel_info *tun_info; in nft_tunnel_get_eval()
165 struct ip_tunnel_info *info) in nft_tunnel_obj_ip_init()
194 struct ip_tunnel_info *info) in nft_tunnel_obj_ip6_init()
356 struct ip_tunnel_info *info, in nft_tunnel_obj_opts_init()
418 struct ip_tunnel_info info; in nft_tunnel_obj_init()
508 static int nft_tunnel_ip_dump(struct sk_buff *skb, struct ip_tunnel_info *info) in nft_tunnel_ip_dump()
618 struct ip_tunnel_info *info) in nft_tunnel_ports_dump()
628 struct ip_tunnel_info *info) in nft_tunnel_flags_dump()
649 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()
/kernel/linux/linux-5.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()
830 const struct ip_tunnel_info *info, in geneve_get_v6_dst()
883 const struct ip_tunnel_info *info) in geneve_xmit_skb()
912 struct ip_tunnel_info *info; in geneve_xmit_skb()
916 struct ip_tunnel_info *unclone; in geneve_xmit_skb()
982 const struct ip_tunnel_info *info) in geneve6_xmit_skb()
1009 struct ip_tunnel_info *info = skb_tunnel_info(skb); in geneve6_xmit_skb()
[all …]
Dbareudp.c283 const struct ip_tunnel_info *info) in bareudp_xmit_skb()
346 const struct ip_tunnel_info *info) in bareudp6_xmit_skb()
428 struct ip_tunnel_info *info = NULL; in bareudp_xmit()
467 struct ip_tunnel_info *info = skb_tunnel_info(skb); in bareudp_fill_metadata_dst()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h185 const struct ip_tunnel_info *tun_info;
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/net/bridge/
Dbr_vlan_tunnel.c165 struct ip_tunnel_info *tinfo = skb_tunnel_info(skb); in br_handle_ingress_vlan_tunnel()
/kernel/linux/linux-5.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()
/kernel/linux/linux-5.10/net/ipv6/
Dip6_gre.c557 struct ip_tunnel_info *info; in ip6erspan_rcv()
709 static struct ip_tunnel_info *skb_tunnel_info_txcheck(struct sk_buff *skb) in skb_tunnel_info_txcheck()
711 struct ip_tunnel_info *tun_info; in skb_tunnel_info_txcheck()
741 struct ip_tunnel_info *tun_info; in __gre6_xmit()
935 struct ip_tunnel_info *tun_info = NULL; in ip6erspan_tunnel_xmit()
/kernel/linux/linux-5.10/drivers/net/vxlan/
Dvxlan_core.c2395 const struct ip_tunnel_info *info) in vxlan_get_route()
2450 const struct ip_tunnel_info *info) in vxlan6_get_route()
2593 struct ip_tunnel_info *info; in vxlan_xmit_one()
2727 struct ip_tunnel_info *unclone; in vxlan_xmit_one()
2789 struct ip_tunnel_info *unclone; in vxlan_xmit_one()
2883 const struct ip_tunnel_info *info; in vxlan_xmit()
3177 struct ip_tunnel_info *info = skb_tunnel_info(skb); in vxlan_fill_metadata_dst()

12