Home
last modified time | relevance | path

Searched refs:ip_tunnel_info_af (Results 1 – 18 of 18) sorted by relevance

/openbmc/linux/drivers/net/
H A Dgeneve.c1155 if (ip_tunnel_info_af(info) == AF_INET) { in geneve_fill_metadata_dst()
1171 } else if (ip_tunnel_info_af(info) == AF_INET6) { in geneve_fill_metadata_dst()
1379 if (ip_tunnel_info_af(a) == AF_INET) in geneve_dst_addr_equal()
1410 if (!cfg->collect_md && ip_tunnel_info_af(info) == AF_INET) { in geneve_configure()
1472 if (changelink && (ip_tunnel_info_af(info) == AF_INET6)) { in geneve_nl2info()
1489 if (changelink && (ip_tunnel_info_af(info) == AF_INET)) { in geneve_nl2info()
1643 switch (ip_tunnel_info_af(info)) { in geneve_link_config()
1822 if (!metadata && ip_tunnel_info_af(info) == AF_INET) { in geneve_fill_info()
H A Dbareudp.c504 if (!ipv6_mod_enabled() || ip_tunnel_info_af(info) == AF_INET) { in bareudp_fill_metadata_dst()
515 } else if (ip_tunnel_info_af(info) == AF_INET6) { in bareudp_fill_metadata_dst()
/openbmc/linux/net/psample/
H A Dpsample.c219 unsigned short tun_proto = ip_tunnel_info_af(tun_info); in __psample_ip_tun_to_nlattr()
312 unsigned short tun_proto = ip_tunnel_info_af(tun_info); in psample_tunnel_meta_len()
/openbmc/linux/net/ipv4/
H A Dip_gre.c493 ip_tunnel_info_af(tun_info) != AF_INET)) in gre_fb_xmit()
535 ip_tunnel_info_af(tun_info) != AF_INET)) in erspan_fb_xmit()
611 if (ip_tunnel_info_af(info) != AF_INET) in gre_fill_metadata_dst()
H A Dip_tunnel.c600 ip_tunnel_info_af(tun_info) != AF_INET)) in ip_md_tunnel_xmit()
716 ip_tunnel_info_af(tun_info) == AF_INET && in ip_tunnel_xmit()
/openbmc/linux/include/net/
H A Dip_tunnels.h225 static inline unsigned short ip_tunnel_info_af(const struct ip_tunnel_info in ip_tunnel_info_af() function
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun_encap.c838 family = ip_tunnel_info_af(tun_info); in mlx5e_attach_encap()
1362 family = ip_tunnel_info_af(tun_info); in mlx5e_attach_encap_route()
1498 err = ip_tunnel_info_af(e->tun_info) == AF_INET ? in mlx5e_reoffload_encap()
/openbmc/linux/net/sched/
H A Dact_tunnel_key.c691 unsigned short family = ip_tunnel_info_af(info); in tunnel_key_dump_addresses()
/openbmc/linux/net/openvswitch/
H A Dflow.c1013 key->tun_proto = ip_tunnel_info_af(tun_info); in ovs_flow_key_extract()
H A Dflow_netlink.c972 ip_tunnel_info_af(tun_info), tun_info->mode); in ovs_nla_put_tunnel_info()
3715 ip_tunnel_info_af(tun_info), tun_info->mode); in set_action_to_attr()
/openbmc/linux/net/ipv6/
H A Dip6_gre.c772 unlikely(ip_tunnel_info_af(tun_info) != AF_INET6)) in __gre6_xmit()
998 unlikely(ip_tunnel_info_af(tun_info) != AF_INET6)) in ip6erspan_tunnel_xmit()
H A Dip6_tunnel.c1315 ip_tunnel_info_af(tun_info) != AF_INET6)) in ipxip6_tnl_xmit()
/openbmc/linux/drivers/net/ethernet/netronome/nfp/flower/
H A Daction.c407 bool ipv6 = ip_tunnel_info_af(ip_tun) == AF_INET6; in nfp_fl_set_tun()
/openbmc/linux/net/netfilter/
H A Dnf_flow_table_offload.c49 if (ip_tunnel_info_af(tun_info) == AF_INET) { in nf_flow_rule_lwt_match()
/openbmc/linux/net/core/
H A Dflow_dissector.c394 switch (ip_tunnel_info_af(info)) { in skb_flow_dissect_tunnel_info()
H A Dfilter.c4646 if (ip_tunnel_info_af(info) != bpf_tunnel_key_af(flags)) { in BPF_CALL_4()
4661 if (ip_tunnel_info_af(info) != AF_INET) in BPF_CALL_4()
/openbmc/linux/drivers/net/ethernet/broadcom/bnxt/
H A Dbnxt_tc.c109 if (ip_tunnel_info_af(tun_info) != AF_INET) { in bnxt_tc_parse_tunnel_set()
/openbmc/linux/drivers/net/vxlan/
H A Dvxlan_core.c2509 remote_ip.sa.sa_family = ip_tunnel_info_af(info); in vxlan_xmit_one()
3123 if (ip_tunnel_info_af(info) == AF_INET) { in vxlan_fill_metadata_dst()