Home
last modified time | relevance | path

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

12

/Linux-v5.4/drivers/thunderbolt/
Dtunnel.c35 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...) \ argument
47 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
49 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
51 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
53 #define tb_tunnel_dbg(tunnel, fmt, arg...) \ argument
59 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local
79 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
118 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
196 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() local
228 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps()
[all …]
Dtb.c67 struct tb_tunnel *tunnel = NULL; in tb_discover_tunnels() local
227 struct tb_tunnel *tunnel; in tb_free_tunnel() local
249 struct tb_tunnel *tunnel; in tb_free_invalid_tunnels() local
365 struct tb_tunnel *tunnel; in tb_tunnel_dp() local
404 struct tb_tunnel *tunnel; in tb_tunnel_pci() local
439 struct tb_tunnel *tunnel; in tb_approve_xdomain_paths() local
612 struct tb_tunnel *tunnel; in tb_stop() local
708 struct tb_tunnel *tunnel, *n; in tb_resume_noirq() local
Dtunnel.h62 static inline bool tb_tunnel_is_pci(const struct tb_tunnel *tunnel) in tb_tunnel_is_pci()
67 static inline bool tb_tunnel_is_dp(const struct tb_tunnel *tunnel) in tb_tunnel_is_dp()
72 static inline bool tb_tunnel_is_dma(const struct tb_tunnel *tunnel) in tb_tunnel_is_dma()
/Linux-v5.4/net/l2tp/
Dl2tp_core.c149 l2tp_session_id_hash(struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_id_hash()
154 void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free()
165 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get() local
185 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get_nth() local
202 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel, in l2tp_tunnel_get_session()
245 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth()
297 struct l2tp_tunnel *tunnel) in l2tp_session_register()
389 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_recv_dequeue_skb() local
620 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_recv_common() local
792 static int l2tp_udp_recv_core(struct l2tp_tunnel *tunnel, struct sk_buff *skb) in l2tp_udp_recv_core()
[all …]
Dl2tp_netlink.c53 struct l2tp_tunnel *tunnel; in l2tp_nl_session_get() local
106 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify()
168 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create() local
264 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_delete() local
294 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_modify() local
324 struct l2tp_tunnel *tunnel, u8 cmd) in l2tp_nl_tunnel_send()
438 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get() local
483 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump() local
514 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_session_create() local
709 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_nl_session_send() local
[all …]
Dl2tp_ppp.c279 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg() local
356 struct l2tp_tunnel *tunnel; in pppol2tp_xmit() local
648 static int pppol2tp_tunnel_mtu(const struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_mtu()
668 struct l2tp_tunnel *tunnel; in pppol2tp_connect() local
863 static int pppol2tp_session_create(struct net *net, struct l2tp_tunnel *tunnel, in pppol2tp_session_create()
909 struct l2tp_tunnel *tunnel; in pppol2tp_getname() local
1037 struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_copy_stats()
1151 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt()
1251 struct l2tp_tunnel *tunnel; in pppol2tp_setsockopt() local
1292 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_getsockopt()
[all …]
Dl2tp_core.h76 struct l2tp_tunnel *tunnel; /* back pointer to tunnel member
235 static inline void l2tp_tunnel_inc_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_inc_refcount()
240 static inline void l2tp_tunnel_dec_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_dec_refcount()
271 static inline u32 l2tp_tunnel_dst_mtu(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_dst_mtu()
287 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
295 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
Dl2tp_debugfs.c39 struct l2tp_tunnel *tunnel; member
122 struct l2tp_tunnel *tunnel = v; in l2tp_dfs_seq_tunnel_show() local
Dl2tp_eth.c217 static void l2tp_eth_adjust_mtu(struct l2tp_tunnel *tunnel, in l2tp_eth_adjust_mtu()
257 static int l2tp_eth_create(struct net *net, struct l2tp_tunnel *tunnel, in l2tp_eth_create()
Dl2tp_ip.c121 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip_recv() local
236 struct l2tp_tunnel *tunnel = sk->sk_user_data; in l2tp_ip_destroy_sock() local
Dl2tp_ip6.c134 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv() local
249 struct l2tp_tunnel *tunnel = sk->sk_user_data; in l2tp_ip6_destroy_sock() local
/Linux-v5.4/net/ipv4/
Dip_tunnel.c239 struct ip_tunnel *tunnel; in __ip_tunnel_create() local
284 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_bind_dev() local
361 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb, in ip_tunnel_rcv()
494 struct ip_tunnel *tunnel = netdev_priv(dev); in tnl_update_pmtu() local
550 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_md_tunnel_xmit() local
646 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_xmit() local
971 struct ip_tunnel *tunnel = netdev_priv(dev); in __ip_tunnel_change_mtu() local
998 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dev_free() local
1007 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dellink() local
1021 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_get_link_net() local
[all …]
Dip_gre.c258 struct ip_tunnel *tunnel; in erspan_rcv() local
336 struct ip_tunnel *tunnel; in __ipgre_rcv() local
434 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit() local
455 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() local
493 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() local
594 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() local
640 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() local
691 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() local
718 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_link_update() local
922 struct ip_tunnel *tunnel; in __gre_tunnel_init() local
[all …]
Dip_vti.c50 struct ip_tunnel *tunnel; in vti_input() local
106 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb() local
181 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_xmit() local
255 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_xmit() local
292 struct ip_tunnel *tunnel; in vti4_err() local
404 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init() local
420 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init() local
Dipip.c217 struct ip_tunnel *tunnel; in ipip_tunnel_rcv() local
274 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit() local
390 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() local
576 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info() local
/Linux-v5.4/net/ipv6/
Dsit.c473 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_uninit() local
564 static inline bool is_spoofed_6rd(struct ip_tunnel *tunnel, const __be32 v4addr, in is_spoofed_6rd()
585 static bool only_dnatted(const struct ip_tunnel *tunnel, in only_dnatted()
602 struct ip_tunnel *tunnel) in packet_is_spoofed()
640 struct ip_tunnel *tunnel; in ipip6_rcv() local
717 struct ip_tunnel *tunnel; in sit_tunnel_rcv() local
768 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst, in check_6rd()
803 static inline __be32 try_6rd(struct ip_tunnel *tunnel, in try_6rd()
819 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_xmit() local
1012 struct ip_tunnel *tunnel = netdev_priv(dev); in sit_tunnel_xmit__() local
[all …]
Dip6_gre.c492 struct ip6_tnl *tunnel; in ip6gre_rcv() local
529 struct ip6_tnl *tunnel; in ip6erspan_rcv() local
710 struct ip6_tnl *tunnel = netdev_priv(dev); in __gre6_xmit() local
1138 static int ip6gre_calc_hlen(struct ip6_tnl *tunnel) in ip6gre_calc_hlen()
1439 struct ip6_tnl *tunnel; in ip6gre_tunnel_init_common() local
1486 struct ip6_tnl *tunnel; in ip6gre_tunnel_init() local
1509 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6gre_fb_tunnel_init() local
1819 static int ip6erspan_calc_hlen(struct ip6_tnl *tunnel) in ip6erspan_calc_hlen()
1834 struct ip6_tnl *tunnel; in ip6erspan_tap_init() local
Dip6_tunnel.c770 static int __ip6_tnl_rcv(struct ip6_tnl *tunnel, struct sk_buff *skb, in __ip6_tnl_rcv()
2110 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_fill_info() local
2142 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_get_link_net() local
Dip6_vti.c1039 struct ip6_tnl *tunnel = netdev_priv(dev); in vti6_fill_info() local
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c449 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(netdev); in mlx5e_tc_tun_device_to_offload() local
462 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(tunnel_dev); in mlx5e_tc_tun_init_encap_attr() local
479 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(filter_dev); in mlx5e_tc_tun_parse() local
/Linux-v5.4/drivers/net/ethernet/mellanox/mlxsw/
Dspectrum_ipip.c235 struct ip_tunnel *tunnel = netdev_priv(ol_dev); in mlxsw_sp_ipip_can_offload_gre4() local
/Linux-v5.4/drivers/net/ethernet/mellanox/mlx5/core/
Den_rep.h170 struct mlx5e_tc_tunnel *tunnel; member
/Linux-v5.4/drivers/net/ethernet/intel/ixgbe/
Dixgbe_82599.c1370 bool tunnel; in ixgbe_fdir_add_signature_filter_82599() local
/Linux-v5.4/drivers/net/ethernet/intel/iavf/
Diavf_txrx.c1991 u32 tunnel = 0; in iavf_tx_enable_csum() local
/Linux-v5.4/include/net/
Dflow_offload.h177 struct ip_tunnel_info *tunnel; /* FLOW_ACTION_TUNNEL_ENCAP */ member

12