Home
last modified time | relevance | path

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

12

/linux/drivers/thunderbolt/
H A Dtunnel.c184 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local
200 static void tb_tunnel_get(struct tb_tunnel *tunnel) in tb_tunnel_get()
209 struct tb_tunnel *tunnel = container_of(kref, typeof(*tunnel), kref); in tb_tunnel_destroy() local
223 void tb_tunnel_put(struct tb_tunnel *tunnel) in tb_tunnel_put()
277 static inline void tb_tunnel_set_active(struct tb_tunnel *tunnel, bool active) in tb_tunnel_set_active()
290 static inline void tb_tunnel_changed(struct tb_tunnel *tunnel) in tb_tunnel_changed()
315 static int tb_pci_pre_activate(struct tb_tunnel *tunnel) in tb_pci_pre_activate()
330 static int tb_pci_set_ext_encapsulation(struct tb_tunnel *tunnel, bool enable) in tb_pci_set_ext_encapsulation()
364 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
458 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
[all …]
H A Dtunnel.h154 static inline bool tb_tunnel_is_active(const struct tb_tunnel *tunnel) in tb_tunnel_is_active()
175 static inline bool tb_tunnel_is_pci(const struct tb_tunnel *tunnel) in tb_tunnel_is_pci()
180 static inline bool tb_tunnel_is_dp(const struct tb_tunnel *tunnel) in tb_tunnel_is_dp()
185 static inline bool tb_tunnel_is_dma(const struct tb_tunnel *tunnel) in tb_tunnel_is_dma()
190 static inline bool tb_tunnel_is_usb3(const struct tb_tunnel *tunnel) in tb_tunnel_is_usb3()
195 static inline bool tb_tunnel_direction_downstream(const struct tb_tunnel *tunnel) in tb_tunnel_direction_downstream()
226 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...) \ argument
238 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
240 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
242 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
[all …]
H A Dtb.c176 struct tb_tunnel *tunnel; in tb_discover_dp_resources() local
189 const struct tb_tunnel *tunnel; in tb_enable_clx() local
282 static void tb_increase_tmu_accuracy(struct tb_tunnel *tunnel) in tb_increase_tmu_accuracy()
385 struct tb_tunnel *tunnel = NULL; in tb_switch_discover_tunnels() local
497 struct tb_tunnel *tunnel; in tb_find_tunnel() local
561 struct tb_tunnel *tunnel; in tb_consumed_usb3_pcie_bandwidth() local
616 struct tb_tunnel *tunnel; in tb_consumed_dp_bandwidth() local
872 struct tb_tunnel *tunnel; in tb_release_unused_usb3_bandwidth() local
882 struct tb_tunnel *tunnel; in tb_reclaim_usb3_bandwidth() local
913 struct tb_tunnel *tunnel; in tb_tunnel_usb3() local
[all …]
H A Dtest.c1410 static void tb_test_dp_tunnel_active(struct tb_tunnel *tunnel, void *data) in tb_test_dp_tunnel_active()
1418 struct tb_tunnel *tunnel; in tb_test_tunnel_dp() local
1457 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_chain() local
1504 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_tree() local
1556 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_max_length() local
1826 struct tb_tunnel *tunnel; in tb_test_tunnel_dma() local
1869 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_rx() local
1906 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_tx() local
1944 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_chain() local
2009 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_match() local
[all …]
/linux/net/l2tp/
H A Dl2tp_core.c143 static void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free()
181 struct l2tp_tunnel *tunnel; in l2tp_sk_to_tunnel() local
200 void l2tp_tunnel_put(struct l2tp_tunnel *tunnel) in l2tp_tunnel_put()
218 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get() local
235 struct l2tp_tunnel *tunnel = NULL; in l2tp_tunnel_get_next() local
281 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); in l2tp_v3_session_get() local
340 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); in l2tp_v2_session_get_next() local
374 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); in l2tp_v3_session_get_next() local
397 struct l2tp_tunnel *tunnel = READ_ONCE(session->tunnel); in l2tp_v3_session_get_next() local
438 struct l2tp_tunnel *tunnel; in l2tp_session_get_by_ifname() local
[all …]
H A Dl2tp_netlink.c51 struct l2tp_tunnel *tunnel; in l2tp_nl_session_get() local
105 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify()
196 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
374 static int l2tp_nl_tunnel_send_addr(struct sk_buff *skb, struct l2tp_tunnel *tunnel) in l2tp_nl_tunnel_send_addr()
389 struct l2tp_tunnel *tunnel, u8 cmd) in l2tp_nl_tunnel_send()
455 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get() local
506 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump() local
537 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_session_create() local
[all …]
H A Dl2tp_ppp.c257 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg() local
334 struct l2tp_tunnel *tunnel; in pppol2tp_xmit() local
616 static int pppol2tp_tunnel_mtu(const struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_mtu()
631 struct l2tp_tunnel *tunnel; in pppol2tp_tunnel_get() local
695 struct l2tp_tunnel *tunnel; in pppol2tp_connect() local
842 static int pppol2tp_session_create(struct net *net, struct l2tp_tunnel *tunnel, in pppol2tp_session_create()
888 struct l2tp_tunnel *tunnel; in pppol2tp_getname() local
1016 struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_copy_stats()
1158 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt()
1237 struct l2tp_tunnel *tunnel; in pppol2tp_setsockopt() local
[all …]
H A Dl2tp_debugfs.c39 struct l2tp_tunnel *tunnel; member
125 struct l2tp_tunnel *tunnel = v; in l2tp_dfs_seq_tunnel_show() local
H A Dl2tp_core.h71 struct l2tp_tunnel *tunnel; /* back pointer to tunnel context */ member
287 static inline u32 l2tp_tunnel_dst_mtu(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_dst_mtu()
303 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
311 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
/linux/drivers/net/
H A Damt.c114 static u32 amt_source_hash(struct amt_tunnel_list *tunnel, union amt_addr *src) in amt_source_hash()
175 static struct amt_source_node *amt_lookup_src(struct amt_tunnel_list *tunnel, in amt_lookup_src()
191 static u32 amt_group_hash(struct amt_tunnel_list *tunnel, union amt_addr *group) in amt_group_hash()
198 static struct amt_group_node *amt_lookup_group(struct amt_tunnel_list *tunnel, in amt_lookup_group()
219 struct amt_tunnel_list *tunnel; in amt_destroy_source() local
287 struct amt_tunnel_list *tunnel; in amt_source_work() local
306 static void amt_act_src(struct amt_tunnel_list *tunnel, in amt_act_src()
406 struct amt_tunnel_list *tunnel = gnode->tunnel_list; in amt_group_work() local
457 struct amt_tunnel_list *tunnel, in amt_add_group()
583 static void __amt_update_relay_status(struct amt_tunnel_list *tunnel, in __amt_update_relay_status()
[all …]
/linux/net/ipv4/
H A Dip_tunnel.c238 struct ip_tunnel *tunnel; in __ip_tunnel_create() local
283 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_bind_dev() local
377 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb, in ip_tunnel_rcv()
517 struct ip_tunnel *tunnel = netdev_priv(dev); in tnl_update_pmtu() local
574 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_md_tunnel_xmit() local
672 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_xmit() local
1059 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_change_mtu() local
1076 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dev_free() local
1084 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dellink() local
1098 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_get_link_net() local
[all …]
H A Dip_vti.c50 struct ip_tunnel *tunnel; in vti_input() local
103 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb() local
172 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_xmit() local
283 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_xmit() local
320 struct ip_tunnel *tunnel; in vti4_err() local
438 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init() local
454 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init() local
H A Dip_gre.c275 struct ip_tunnel *tunnel; in erspan_rcv() local
371 struct ip_tunnel *tunnel; in __ipgre_rcv() local
480 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit() local
499 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() local
542 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() local
652 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() local
706 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() local
764 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() local
794 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_link_update() local
1013 struct ip_tunnel *tunnel; in __gre_tunnel_init() local
[all …]
H A Dipip.c221 struct ip_tunnel *tunnel; in ipip_tunnel_rcv() local
285 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit() local
359 struct ip_tunnel *tunnel = netdev_priv(ctx->dev); in ipip_fill_forward_path() local
426 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() local
562 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info() local
/linux/net/ipv6/
H A Dsit.c516 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_uninit() local
607 static inline bool is_spoofed_6rd(struct ip_tunnel *tunnel, const __be32 v4addr, in is_spoofed_6rd()
628 static bool only_dnatted(const struct ip_tunnel *tunnel, in only_dnatted()
645 struct ip_tunnel *tunnel) in packet_is_spoofed()
683 struct ip_tunnel *tunnel; in ipip6_rcv() local
756 struct ip_tunnel *tunnel; in sit_tunnel_rcv() local
809 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst, in check_6rd()
844 static inline __be32 try_6rd(struct ip_tunnel *tunnel, in try_6rd()
903 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_xmit() local
1048 struct ip_tunnel *tunnel = netdev_priv(dev); in sit_tunnel_xmit__() local
[all …]
H A Dip6_gre.c460 struct ip6_tnl *tunnel; in ip6gre_rcv() local
497 struct ip6_tnl *tunnel; in ip6erspan_rcv() local
723 struct ip6_tnl *tunnel = netdev_priv(dev); in __gre6_xmit() local
1159 static int ip6gre_calc_hlen(struct ip6_tnl *tunnel) in ip6gre_calc_hlen()
1469 struct ip6_tnl *tunnel; in ip6gre_tunnel_init_common() local
1509 struct ip6_tnl *tunnel; in ip6gre_tunnel_init() local
1532 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6gre_fb_tunnel_init() local
1827 static int ip6erspan_calc_hlen(struct ip6_tnl *tunnel) in ip6erspan_calc_hlen()
1842 struct ip6_tnl *tunnel; in ip6erspan_tap_init() local
H A Dip6_tunnel.c808 static int __ip6_tnl_rcv(struct ip6_tnl *tunnel, struct sk_buff *skb, in __ip6_tnl_rcv()
2211 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_fill_info() local
2243 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_get_link_net() local
H A Dip6_vti.c1089 struct ip6_tnl *tunnel = netdev_priv(dev); in vti6_fill_info() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dport_sel.h26 bool tunnel; member
/linux/drivers/net/ethernet/mellanox/mlxsw/
H A Dspectrum_ipip.c244 struct ip_tunnel *tunnel = netdev_priv(ol_dev); in mlxsw_sp_ipip_can_offload_gre4() local
/linux/net/sched/
H A Dact_tunnel_key.c785 struct ip_tunnel_info *tunnel = priv; in tcf_tunnel_encap_put_tunnel() local
/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A Den_rep.h216 struct mlx5e_tc_tunnel *tunnel; member
/linux/drivers/net/ethernet/intel/iavf/
H A Diavf_txrx.c1875 u32 tunnel = 0; in iavf_tx_enable_csum() local
/linux/drivers/net/ethernet/intel/ice/
H A Dice_txrx.c1640 u32 tunnel = 0; in ice_tx_csum() local
/linux/include/net/
H A Dxfrm.h261 struct xfrm_state *tunnel; member
747 } tunnel; member
2279 bool tunnel = false; in xfrm_tunnel_check() local

12