Home
last modified time | relevance | path

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

1234

/kernel/linux/linux-5.10/drivers/thunderbolt/
Dtunnel.c42 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...) \ argument
54 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
56 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
58 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
60 #define tb_tunnel_dbg(tunnel, fmt, arg...) \ argument
66 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local
86 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
143 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
221 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() local
421 static int tb_dp_xchg_caps(struct tb_tunnel *tunnel) in tb_dp_xchg_caps()
[all …]
Dtb.c112 struct tb_tunnel *tunnel = NULL; in tb_discover_tunnels() local
261 struct tb_tunnel *tunnel; in tb_find_tunnel() local
306 struct tb_tunnel *tunnel; in tb_available_bandwidth() local
398 struct tb_tunnel *tunnel; in tb_release_unused_usb3_bandwidth() local
408 struct tb_tunnel *tunnel; in tb_reclaim_usb3_bandwidth() local
439 struct tb_tunnel *tunnel; in tb_tunnel_usb3() local
667 static void tb_deactivate_and_free_tunnel(struct tb_tunnel *tunnel) in tb_deactivate_and_free_tunnel()
717 struct tb_tunnel *tunnel; in tb_free_invalid_tunnels() local
843 struct tb_tunnel *tunnel; in tb_tunnel_dp() local
942 struct tb_tunnel *tunnel; in tb_dp_resource_unavailable() local
[all …]
Dtunnel.h95 static inline bool tb_tunnel_is_pci(const struct tb_tunnel *tunnel) in tb_tunnel_is_pci()
100 static inline bool tb_tunnel_is_dp(const struct tb_tunnel *tunnel) in tb_tunnel_is_dp()
105 static inline bool tb_tunnel_is_dma(const struct tb_tunnel *tunnel) in tb_tunnel_is_dma()
110 static inline bool tb_tunnel_is_usb3(const struct tb_tunnel *tunnel) in tb_tunnel_is_usb3()
/kernel/linux/linux-6.6/drivers/thunderbolt/
Dtunnel.c61 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...) \ argument
73 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
75 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
77 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
79 #define tb_tunnel_dbg(tunnel, fmt, arg...) \ argument
137 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local
157 static int tb_pci_set_ext_encapsulation(struct tb_tunnel *tunnel, bool enable) in tb_pci_set_ext_encapsulation()
179 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
265 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
345 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() local
[all …]
Dtb.c99 struct tb_tunnel *tunnel; in tb_attach_bandwidth_group() local
235 struct tb_tunnel *tunnel; in tb_discover_dp_resources() local
248 const struct tb_tunnel *tunnel; in tb_enable_clx() local
325 static void tb_increase_tmu_accuracy(struct tb_tunnel *tunnel) in tb_increase_tmu_accuracy()
392 struct tb_tunnel *tunnel = NULL; in tb_switch_discover_tunnels() local
427 struct tb_tunnel *tunnel; in tb_discover_tunnels() local
535 struct tb_tunnel *tunnel; in tb_find_tunnel() local
580 struct tb_tunnel *tunnel; in tb_available_bandwidth() local
716 struct tb_tunnel *tunnel; in tb_release_unused_usb3_bandwidth() local
726 struct tb_tunnel *tunnel; in tb_reclaim_usb3_bandwidth() local
[all …]
Dtunnel.h120 static inline bool tb_tunnel_is_pci(const struct tb_tunnel *tunnel) in tb_tunnel_is_pci()
125 static inline bool tb_tunnel_is_dp(const struct tb_tunnel *tunnel) in tb_tunnel_is_dp()
130 static inline bool tb_tunnel_is_dma(const struct tb_tunnel *tunnel) in tb_tunnel_is_dma()
135 static inline bool tb_tunnel_is_usb3(const struct tb_tunnel *tunnel) in tb_tunnel_is_usb3()
Dtest.c1393 struct tb_tunnel *tunnel; in tb_test_tunnel_dp() local
1431 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_chain() local
1477 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_tree() local
1528 struct tb_tunnel *tunnel; in tb_test_tunnel_dp_max_length() local
1792 struct tb_tunnel *tunnel; in tb_test_tunnel_dma() local
1835 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_rx() local
1872 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_tx() local
1910 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_chain() local
1975 struct tb_tunnel *tunnel; in tb_test_tunnel_dma_match() local
2027 struct tb_tunnel *tunnel; in tb_test_credit_alloc_legacy_not_bonded() local
[all …]
/kernel/linux/linux-6.6/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
226 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get_nth() local
243 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel, in l2tp_tunnel_get_session()
286 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth()
338 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.c272 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg() local
349 struct l2tp_tunnel *tunnel; in pppol2tp_xmit() local
642 static int pppol2tp_tunnel_mtu(const struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_mtu()
657 struct l2tp_tunnel *tunnel; in pppol2tp_tunnel_get() local
721 struct l2tp_tunnel *tunnel; in pppol2tp_connect() local
862 static int pppol2tp_session_create(struct net *net, struct l2tp_tunnel *tunnel, in pppol2tp_session_create()
908 struct l2tp_tunnel *tunnel; in pppol2tp_getname() local
1036 struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_copy_stats()
1159 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt()
1243 struct l2tp_tunnel *tunnel; in pppol2tp_setsockopt() local
[all …]
/kernel/linux/linux-5.10/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
226 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get_nth() local
243 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel, in l2tp_tunnel_get_session()
286 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth()
338 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()
658 struct l2tp_tunnel *tunnel; in pppol2tp_tunnel_get() local
722 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()
1160 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt()
1244 struct l2tp_tunnel *tunnel; in pppol2tp_setsockopt() local
[all …]
/kernel/linux/linux-6.6/drivers/net/
Damt.c121 static u32 amt_source_hash(struct amt_tunnel_list *tunnel, union amt_addr *src) in amt_source_hash()
182 static struct amt_source_node *amt_lookup_src(struct amt_tunnel_list *tunnel, in amt_lookup_src()
198 static u32 amt_group_hash(struct amt_tunnel_list *tunnel, union amt_addr *group) in amt_group_hash()
205 static struct amt_group_node *amt_lookup_group(struct amt_tunnel_list *tunnel, in amt_lookup_group()
226 struct amt_tunnel_list *tunnel; in amt_destroy_source() local
294 struct amt_tunnel_list *tunnel; in amt_source_work() local
313 static void amt_act_src(struct amt_tunnel_list *tunnel, in amt_act_src()
413 struct amt_tunnel_list *tunnel = gnode->tunnel_list; in amt_group_work() local
464 struct amt_tunnel_list *tunnel, in amt_add_group()
590 static void __amt_update_relay_status(struct amt_tunnel_list *tunnel, in __amt_update_relay_status()
[all …]
/kernel/linux/linux-6.6/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
376 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb, in ip_tunnel_rcv()
503 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
1013 struct ip_tunnel *tunnel = netdev_priv(dev); in __ip_tunnel_change_mtu() local
1043 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dev_free() local
1052 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dellink() local
1066 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
480 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() local
518 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() local
626 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() local
677 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() local
732 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() local
759 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_link_update() local
957 struct ip_tunnel *tunnel; in __gre_tunnel_init() local
[all …]
Dipip.c217 struct ip_tunnel *tunnel; in ipip_tunnel_rcv() local
277 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit() local
382 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() local
512 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info() local
/kernel/linux/linux-5.10/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()
502 struct ip_tunnel *tunnel = netdev_priv(dev); in tnl_update_pmtu() local
573 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_md_tunnel_xmit() local
666 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_xmit() local
1004 struct ip_tunnel *tunnel = netdev_priv(dev); in __ip_tunnel_change_mtu() local
1034 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dev_free() local
1043 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dellink() local
1057 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
424 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init() local
440 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init() local
Dip_gre.c267 struct ip_tunnel *tunnel; in erspan_rcv() local
354 struct ip_tunnel *tunnel; in __ipgre_rcv() local
456 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit() local
475 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() local
513 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() local
620 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() local
671 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() local
725 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() local
752 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_link_update() local
953 struct ip_tunnel *tunnel; in __gre_tunnel_init() local
[all …]
Dipip.c217 struct ip_tunnel *tunnel; in ipip_tunnel_rcv() local
274 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit() local
379 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() local
565 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info() local
/kernel/linux/linux-6.6/net/ipv6/
Dsit.c512 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_uninit() local
603 static inline bool is_spoofed_6rd(struct ip_tunnel *tunnel, const __be32 v4addr, in is_spoofed_6rd()
624 static bool only_dnatted(const struct ip_tunnel *tunnel, in only_dnatted()
641 struct ip_tunnel *tunnel) in packet_is_spoofed()
679 struct ip_tunnel *tunnel; in ipip6_rcv() local
752 struct ip_tunnel *tunnel; in sit_tunnel_rcv() local
805 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst, in check_6rd()
840 static inline __be32 try_6rd(struct ip_tunnel *tunnel, in try_6rd()
856 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_xmit() local
1049 struct ip_tunnel *tunnel = netdev_priv(dev); in sit_tunnel_xmit__() local
[all …]
/kernel/linux/linux-5.10/net/ipv6/
Dsit.c509 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_uninit() local
600 static inline bool is_spoofed_6rd(struct ip_tunnel *tunnel, const __be32 v4addr, in is_spoofed_6rd()
621 static bool only_dnatted(const struct ip_tunnel *tunnel, in only_dnatted()
638 struct ip_tunnel *tunnel) in packet_is_spoofed()
676 struct ip_tunnel *tunnel; in ipip6_rcv() local
753 struct ip_tunnel *tunnel; in sit_tunnel_rcv() local
804 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst, in check_6rd()
839 static inline __be32 try_6rd(struct ip_tunnel *tunnel, in try_6rd()
855 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 …]
/kernel/linux/linux-6.6/drivers/net/ethernet/mellanox/mlx5/core/en/
Dtc_tun.c126 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(dev); in mlx5e_route_lookup_ipv4_get() local
447 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(dev); in mlx5e_route_lookup_ipv6_get() local
773 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(netdev); in mlx5e_tc_tun_device_to_offload() local
786 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(tunnel_dev); in mlx5e_tc_tun_init_encap_attr() local
802 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(filter_dev); in mlx5e_tc_tun_parse() local

1234