Home
last modified time | relevance | path

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

123

/kernel/linux/linux-4.19/drivers/thunderbolt/
Dtunnel_pci.c14 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...) \ argument
25 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
27 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
29 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
62 struct tb_pci_tunnel *tunnel = kzalloc(sizeof(*tunnel), GFP_KERNEL); in tb_pci_alloc() local
120 void tb_pci_free(struct tb_pci_tunnel *tunnel) in tb_pci_free()
134 bool tb_pci_is_invalid(struct tb_pci_tunnel *tunnel) in tb_pci_is_invalid()
162 int tb_pci_restart(struct tb_pci_tunnel *tunnel) in tb_pci_restart()
196 int tb_pci_activate(struct tb_pci_tunnel *tunnel) in tb_pci_activate()
212 void tb_pci_deactivate(struct tb_pci_tunnel *tunnel) in tb_pci_deactivate()
Dtb.c94 struct tb_pci_tunnel *tunnel; in tb_free_invalid_tunnels() local
181 struct tb_pci_tunnel *tunnel; in tb_activate_pcie_devices() local
356 struct tb_pci_tunnel *tunnel; in tb_stop() local
421 struct tb_pci_tunnel *tunnel, *n; in tb_resume_noirq() local
/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-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
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
/kernel/linux/linux-4.19/net/l2tp/
Dl2tp_core.c152 l2tp_session_id_hash(struct l2tp_tunnel *tunnel, u32 session_id) in l2tp_session_id_hash()
157 void l2tp_tunnel_free(struct l2tp_tunnel *tunnel) in l2tp_tunnel_free()
168 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get() local
188 struct l2tp_tunnel *tunnel; in l2tp_tunnel_get_nth() local
205 struct l2tp_session *l2tp_tunnel_get_session(struct l2tp_tunnel *tunnel, in l2tp_tunnel_get_session()
248 struct l2tp_session *l2tp_session_get_nth(struct l2tp_tunnel *tunnel, int nth) in l2tp_session_get_nth()
300 struct l2tp_tunnel *tunnel) in l2tp_session_register()
397 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_recv_dequeue_skb() local
628 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_recv_common() local
800 static int l2tp_udp_recv_core(struct l2tp_tunnel *tunnel, struct sk_buff *skb) in l2tp_udp_recv_core()
[all …]
Dl2tp_netlink.c56 struct l2tp_tunnel *tunnel; in l2tp_nl_session_get() local
109 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify()
171 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create() local
267 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_delete() local
297 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_modify() local
327 struct l2tp_tunnel *tunnel, u8 cmd) in l2tp_nl_tunnel_send()
441 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get() local
486 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump() local
517 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_session_create() local
712 struct l2tp_tunnel *tunnel = session->tunnel; in l2tp_nl_session_send() local
[all …]
Dl2tp_ppp.c283 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg() local
360 struct l2tp_tunnel *tunnel; in pppol2tp_xmit() local
652 static int pppol2tp_tunnel_mtu(const struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_mtu()
672 struct l2tp_tunnel *tunnel; in pppol2tp_connect() local
867 static int pppol2tp_session_create(struct net *net, struct l2tp_tunnel *tunnel, in pppol2tp_session_create()
913 struct l2tp_tunnel *tunnel; in pppol2tp_getname() local
1041 struct l2tp_tunnel *tunnel) in pppol2tp_tunnel_copy_stats()
1156 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_setsockopt()
1256 struct l2tp_tunnel *tunnel; in pppol2tp_setsockopt() local
1297 struct l2tp_tunnel *tunnel, in pppol2tp_tunnel_getsockopt()
[all …]
Dl2tp_core.h79 struct l2tp_tunnel *tunnel; /* back pointer to tunnel member
238 static inline void l2tp_tunnel_inc_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_inc_refcount()
243 static inline void l2tp_tunnel_dec_refcount(struct l2tp_tunnel *tunnel) in l2tp_tunnel_dec_refcount()
274 static inline u32 l2tp_tunnel_dst_mtu(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_dst_mtu()
290 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
298 static inline bool l2tp_tunnel_uses_xfrm(const struct l2tp_tunnel *tunnel) in l2tp_tunnel_uses_xfrm()
/kernel/linux/linux-4.19/net/ipv4/
Dip_tunnel.c250 struct ip_tunnel *tunnel; in __ip_tunnel_create() local
295 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_bind_dev() local
372 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb, in ip_tunnel_rcv()
504 struct ip_tunnel *tunnel = netdev_priv(dev); in tnl_update_pmtu() local
551 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_md_tunnel_xmit() local
628 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_xmit() local
936 struct ip_tunnel *tunnel = netdev_priv(dev); in __ip_tunnel_change_mtu() local
963 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dev_free() local
972 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dellink() local
986 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_get_link_net() local
[all …]
Dip_vti.c55 struct ip_tunnel *tunnel; in vti_input() local
103 struct ip_tunnel *tunnel; in vti_rcv_tunnel() local
132 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb() local
207 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_xmit() local
312 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_xmit() local
349 struct ip_tunnel *tunnel; in vti4_err() local
461 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_tunnel_init() local
477 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_fb_tunnel_init() local
Dip_gre.c261 struct ip_tunnel *tunnel; in erspan_rcv() local
339 struct ip_tunnel *tunnel; in __ipgre_rcv() local
437 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit() local
523 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() local
568 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() local
671 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() local
715 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() local
766 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() local
793 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_link_update() local
1001 struct ip_tunnel *tunnel; in __gre_tunnel_init() local
[all …]
Dipip.c223 struct ip_tunnel *tunnel; in ipip_tunnel_rcv() local
280 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit() local
396 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() local
582 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()
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
977 struct ip_tunnel *tunnel = netdev_priv(dev); in __ip_tunnel_change_mtu() local
1007 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dev_free() local
1016 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dellink() local
1030 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
477 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_fb_xmit() local
515 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_fb_xmit() local
616 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_xmit() local
665 struct ip_tunnel *tunnel = netdev_priv(dev); in erspan_xmit() local
719 struct ip_tunnel *tunnel = netdev_priv(dev); in gre_tap_xmit() local
746 struct ip_tunnel *tunnel = netdev_priv(dev); in ipgre_link_update() local
947 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-4.19/net/ipv6/
Dsit.c477 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_uninit() local
568 static inline bool is_spoofed_6rd(struct ip_tunnel *tunnel, const __be32 v4addr, in is_spoofed_6rd()
589 static bool only_dnatted(const struct ip_tunnel *tunnel, in only_dnatted()
606 struct ip_tunnel *tunnel) in packet_is_spoofed()
644 struct ip_tunnel *tunnel; in ipip6_rcv() local
721 struct ip_tunnel *tunnel; in sit_tunnel_rcv() local
772 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst, in check_6rd()
807 static inline __be32 try_6rd(struct ip_tunnel *tunnel, in try_6rd()
823 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_xmit() local
1011 struct ip_tunnel *tunnel = netdev_priv(dev); in sit_tunnel_xmit__() local
[all …]
Dip6_gre.c516 struct ip6_tnl *tunnel; in ip6gre_rcv() local
552 struct ip6_tnl *tunnel; in ip6erspan_rcv() local
733 struct ip6_tnl *tunnel = netdev_priv(dev); in __gre6_xmit() local
1161 static int ip6gre_calc_hlen(struct ip6_tnl *tunnel) in ip6gre_calc_hlen()
1462 struct ip6_tnl *tunnel; in ip6gre_tunnel_init_common() local
1508 struct ip6_tnl *tunnel; in ip6gre_tunnel_init() local
1531 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6gre_fb_tunnel_init() local
1842 static int ip6erspan_calc_hlen(struct ip6_tnl *tunnel) in ip6erspan_calc_hlen()
1857 struct ip6_tnl *tunnel; in ip6erspan_tap_init() local
/kernel/linux/linux-5.10/net/ipv6/
Dsit.c511 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_uninit() local
602 static inline bool is_spoofed_6rd(struct ip_tunnel *tunnel, const __be32 v4addr, in is_spoofed_6rd()
623 static bool only_dnatted(const struct ip_tunnel *tunnel, in only_dnatted()
640 struct ip_tunnel *tunnel) in packet_is_spoofed()
678 struct ip_tunnel *tunnel; in ipip6_rcv() local
755 struct ip_tunnel *tunnel; in sit_tunnel_rcv() local
806 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst, in check_6rd()
841 static inline __be32 try_6rd(struct ip_tunnel *tunnel, in try_6rd()
857 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_xmit() local
1050 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()
1464 struct ip6_tnl *tunnel; in ip6gre_tunnel_init_common() local
1511 struct ip6_tnl *tunnel; in ip6gre_tunnel_init() local
1534 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6gre_fb_tunnel_init() local
1843 static int ip6erspan_calc_hlen(struct ip6_tnl *tunnel) in ip6erspan_calc_hlen()
1858 struct ip6_tnl *tunnel; in ip6erspan_tap_init() local

123