Home
last modified time | relevance | path

Searched defs:tunnel (Results 1 – 25 of 38) sorted by relevance

12

/Linux-v5.15/drivers/thunderbolt/
Dtunnel.c49 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...) \ argument
61 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
63 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
65 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
67 #define tb_tunnel_dbg(tunnel, fmt, arg...) \ argument
122 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local
142 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
217 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
297 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() local
499 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps()
[all …]
Dtb.c115 struct tb_tunnel *tunnel = NULL; in tb_discover_tunnels() local
267 struct tb_tunnel *tunnel; in tb_find_tunnel() local
312 struct tb_tunnel *tunnel; in tb_available_bandwidth() local
404 struct tb_tunnel *tunnel; in tb_release_unused_usb3_bandwidth() local
414 struct tb_tunnel *tunnel; in tb_reclaim_usb3_bandwidth() local
445 struct tb_tunnel *tunnel; in tb_tunnel_usb3() local
681 static void tb_deactivate_and_free_tunnel(struct tb_tunnel *tunnel) in tb_deactivate_and_free_tunnel()
731 struct tb_tunnel *tunnel; in tb_free_invalid_tunnels() local
857 struct tb_tunnel *tunnel; in tb_tunnel_dp() local
961 struct tb_tunnel *tunnel; in tb_dp_resource_unavailable() local
[all …]
Dtunnel.h99 static inline bool tb_tunnel_is_pci(const struct tb_tunnel *tunnel) in tb_tunnel_is_pci()
104 static inline bool tb_tunnel_is_dp(const struct tb_tunnel *tunnel) in tb_tunnel_is_dp()
109 static inline bool tb_tunnel_is_dma(const struct tb_tunnel *tunnel) in tb_tunnel_is_dma()
114 static inline bool tb_tunnel_is_usb3(const struct tb_tunnel *tunnel) in tb_tunnel_is_usb3()
Dtest.c1335 struct tb_tunnel *tunnel; in tb_test_tunnel_dp() local
1373 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_chain() local
1419 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_tree() local
1470 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_max_length() local
1669 struct tb_tunnel *tunnel; in tb_test_tunnel_dma() local
1712 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_rx() local
1749 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_tx() local
1787 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_chain() local
1852 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_match() local
1904 struct tb_tunnel *tunnel; in tb_test_credit_alloc_legacy_not_bonded() local
[all …]
/Linux-v5.15/net/l2tp/
Dl2tp_core.c146 l2tp_session_id_hash(struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_id_hash()
151 static void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free()
168 struct l2tp_tunnel *tunnel = sk->sk_user_data; in l2tp_sk_to_tunnel() local
178 void l2tp_tunnel_inc_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_inc_refcount()
184 void l2tp_tunnel_dec_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_dec_refcount()
208 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get() local
228 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get_nth() local
245 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel, in l2tp_tunnel_get_session()
288 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth()
340 struct l2tp_tunnel *tunnel) in l2tp_session_register()
[all …]
Dl2tp_netlink.c51 struct l2tp_tunnel *tunnel; in l2tp_nl_session_get() local
104 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify()
192 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create() local
260 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_delete() local
290 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_modify() local
370 static int l2tp_nl_tunnel_send_addr(struct sk_buff *skb, struct l2tp_tunnel *tunnel) in l2tp_nl_tunnel_send_addr()
385 struct l2tp_tunnel *tunnel, u8 cmd) in l2tp_nl_tunnel_send()
451 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get() local
496 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump() local
527 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_session_create() local
[all …]
Dl2tp_ppp.c273 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg() local
350 struct l2tp_tunnel *tunnel; in pppol2tp_xmit() local
643 static int pppol2tp_tunnel_mtu(const struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_mtu()
663 struct l2tp_tunnel *tunnel; in pppol2tp_connect() local
854 static int pppol2tp_session_create(struct net *net, struct l2tp_tunnel *tunnel, in pppol2tp_session_create()
900 struct l2tp_tunnel *tunnel; in pppol2tp_getname() local
1028 struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_copy_stats()
1151 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt()
1235 struct l2tp_tunnel *tunnel; in pppol2tp_setsockopt() local
1275 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_getsockopt()
[all …]
Dl2tp_debugfs.c38 struct l2tp_tunnel *tunnel; member
122 struct l2tp_tunnel *tunnel = v; in l2tp_dfs_seq_tunnel_show() local
Dl2tp_core.h74 struct l2tp_tunnel *tunnel; /* back pointer to tunnel context */ member
293 static inline u32 l2tp_tunnel_dst_mtu(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_dst_mtu()
309 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
317 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
Dl2tp_eth.c204 static void l2tp_eth_adjust_mtu(struct l2tp_tunnel *tunnel, in l2tp_eth_adjust_mtu()
244 static int l2tp_eth_create(struct net *net, struct l2tp_tunnel *tunnel, in l2tp_eth_create()
Dl2tp_ip.c119 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip_recv() local
236 struct l2tp_tunnel *tunnel = l2tp_sk_to_tunnel(sk); in l2tp_ip_destroy_sock() local
Dl2tp_ip6.c132 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv() local
250 struct l2tp_tunnel *tunnel = l2tp_sk_to_tunnel(sk); in l2tp_ip6_destroy_sock() local
/Linux-v5.15/net/ipv4/
Dip_tunnel.c237 struct ip_tunnel *tunnel; in __ip_tunnel_create() local
282 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_bind_dev() local
362 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb, in ip_tunnel_rcv()
489 struct ip_tunnel *tunnel = netdev_priv(dev); in tnl_update_pmtu() local
546 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_md_tunnel_xmit() local
639 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_xmit() local
978 struct ip_tunnel *tunnel = netdev_priv(dev); in __ip_tunnel_change_mtu() local
1008 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dev_free() local
1017 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dellink() local
1031 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_get_link_net() local
[all …]
Dip_vti.c50 struct ip_tunnel *tunnel; in vti_input() local
100 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb() local
169 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_xmit() local
280 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_xmit() local
317 struct ip_tunnel *tunnel; in vti4_err() local
425 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init() local
441 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init() local
Dip_gre.c269 struct ip_tunnel *tunnel; in erspan_rcv() local
356 struct ip_tunnel *tunnel; in __ipgre_rcv() local
461 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit() local
482 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() local
520 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() local
621 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() local
670 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() local
724 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() local
751 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_link_update() local
952 struct ip_tunnel *tunnel; in __gre_tunnel_init() local
[all …]
Dipip.c217 struct ip_tunnel *tunnel; in ipip_tunnel_rcv() local
276 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit() local
381 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() local
567 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info() local
/Linux-v5.15/net/ipv6/
Dsit.c514 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_uninit() local
605 static inline bool is_spoofed_6rd(struct ip_tunnel *tunnel, const __be32 v4addr, in is_spoofed_6rd()
626 static bool only_dnatted(const struct ip_tunnel *tunnel, in only_dnatted()
643 struct ip_tunnel *tunnel) in packet_is_spoofed()
681 struct ip_tunnel *tunnel; in ipip6_rcv() local
760 struct ip_tunnel *tunnel; in sit_tunnel_rcv() local
813 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst, in check_6rd()
848 static inline __be32 try_6rd(struct ip_tunnel *tunnel, in try_6rd()
864 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_xmit() local
1057 struct ip_tunnel *tunnel = netdev_priv(dev); in sit_tunnel_xmit__() local
[all …]
Dip6_gre.c496 struct ip6_tnl *tunnel; in ip6gre_rcv() local
533 struct ip6_tnl *tunnel; in ip6erspan_rcv() local
725 struct ip6_tnl *tunnel = netdev_priv(dev); in __gre6_xmit() local
1158 static int ip6gre_calc_hlen(struct ip6_tnl *tunnel) in ip6gre_calc_hlen()
1465 struct ip6_tnl *tunnel; in ip6gre_tunnel_init_common() local
1512 struct ip6_tnl *tunnel; in ip6gre_tunnel_init() local
1535 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6gre_fb_tunnel_init() local
1844 static int ip6erspan_calc_hlen(struct ip6_tnl *tunnel) in ip6erspan_calc_hlen()
1859 struct ip6_tnl *tunnel; in ip6erspan_tap_init() local
Dip6_tunnel.c793 static int __ip6_tnl_rcv(struct ip6_tnl *tunnel, struct sk_buff *skb, in __ip6_tnl_rcv()
2138 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_fill_info() local
2170 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_get_link_net() local
Dip6_vti.c1079 struct ip6_tnl *tunnel = netdev_priv(dev); in vti6_fill_info() local
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c754 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(netdev); in mlx5e_tc_tun_device_to_offload() local
767 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(tunnel_dev); in mlx5e_tc_tun_init_encap_attr() local
783 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(filter_dev); in mlx5e_tc_tun_parse() local
/Linux-v5.15/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c203 struct ip_tunnel *tunnel = netdev_priv(ol_dev); in mlxsw_sp_ipip_can_offload_gre4() local
/Linux-v5.15/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h199 struct mlx5e_tc_tunnel *tunnel; member
/Linux-v5.15/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c1370 bool tunnel; in ixgbe_fdir_add_signature_filter_82599() local
/Linux-v5.15/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1980 u32 tunnel = 0; in iavf_tx_enable_csum() local

12