Home
last modified time | relevance | path

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

12

/linux/include/drm/display/
H A Ddrm_dp_tunnel.h24 struct drm_dp_tunnel *tunnel; member
36 static inline void drm_dp_tunnel_ref_get(struct drm_dp_tunnel *tunnel, in drm_dp_tunnel_ref_get()
102 drm_dp_tunnel_get(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker) in drm_dp_tunnel_get()
108 drm_dp_tunnel_put(struct drm_dp_tunnel *tunnel, struct ref_tracker **tracker) {} in drm_dp_tunnel_put()
110 static inline void drm_dp_tunnel_ref_get(struct drm_dp_tunnel *tunnel, in drm_dp_tunnel_ref_get()
123 drm_dp_tunnel_destroy(struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_destroy()
128 static inline int drm_dp_tunnel_enable_bw_alloc(struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_enable_bw_alloc()
133 static inline int drm_dp_tunnel_disable_bw_alloc(struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_disable_bw_alloc()
138 static inline bool drm_dp_tunnel_bw_alloc_is_enabled(const struct drm_dp_tunnel *tunnel) in drm_dp_tunnel_bw_alloc_is_enabled()
144 drm_dp_tunnel_alloc_bw(struct drm_dp_tunnel *tunnel, int bw) in drm_dp_tunnel_alloc_bw()
[all …]
/linux/drivers/thunderbolt/
H A Dtunnel.c181 struct tb_tunnel *tunnel; in tb_tunnel_alloc() local
202 static void tb_tunnel_get(struct tb_tunnel *tunnel) in tb_tunnel_get()
211 struct tb_tunnel *tunnel = container_of(kref, typeof(*tunnel), kref); in tb_tunnel_destroy() local
226 void tb_tunnel_put(struct tb_tunnel *tunnel) in tb_tunnel_put()
280 static inline void tb_tunnel_set_active(struct tb_tunnel *tunnel, bool active) in tb_tunnel_set_active()
293 static inline void tb_tunnel_changed(struct tb_tunnel *tunnel) in tb_tunnel_changed()
299 static int tb_pci_set_ext_encapsulation(struct tb_tunnel *tunnel, bool enable) in tb_pci_set_ext_encapsulation()
333 static int tb_pci_activate(struct tb_tunnel *tunnel, bool activate) in tb_pci_activate()
427 struct tb_tunnel *tunnel; in tb_tunnel_discover_pci() local
507 struct tb_tunnel *tunnel; in tb_tunnel_alloc_pci() local
[all …]
H A Dtunnel.h151 static inline bool tb_tunnel_is_active(const struct tb_tunnel *tunnel) in tb_tunnel_is_active()
172 static inline bool tb_tunnel_is_pci(const struct tb_tunnel *tunnel) in tb_tunnel_is_pci()
177 static inline bool tb_tunnel_is_dp(const struct tb_tunnel *tunnel) in tb_tunnel_is_dp()
182 static inline bool tb_tunnel_is_dma(const struct tb_tunnel *tunnel) in tb_tunnel_is_dma()
187 static inline bool tb_tunnel_is_usb3(const struct tb_tunnel *tunnel) in tb_tunnel_is_usb3()
192 static inline bool tb_tunnel_direction_downstream(const struct tb_tunnel *tunnel) in tb_tunnel_direction_downstream()
223 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...) \ argument
235 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
237 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
239 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
[all …]
H A Dtb.c175 struct tb_tunnel *tunnel; in tb_discover_dp_resources() local
188 const struct tb_tunnel *tunnel; in tb_enable_clx() local
281 static void tb_increase_tmu_accuracy(struct tb_tunnel *tunnel) in tb_increase_tmu_accuracy()
384 struct tb_tunnel *tunnel = NULL; in tb_switch_discover_tunnels() local
495 struct tb_tunnel *tunnel; in tb_find_tunnel() local
559 struct tb_tunnel *tunnel; in tb_consumed_usb3_pcie_bandwidth() local
614 struct tb_tunnel *tunnel; in tb_consumed_dp_bandwidth() local
870 struct tb_tunnel *tunnel; in tb_release_unused_usb3_bandwidth() local
880 struct tb_tunnel *tunnel; in tb_reclaim_usb3_bandwidth() local
911 struct tb_tunnel *tunnel; in tb_tunnel_usb3() local
[all …]
H A 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 …]
/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()
193 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create() local
261 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_delete() local
291 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_modify() local
371 static int l2tp_nl_tunnel_send_addr(struct sk_buff *skb, struct l2tp_tunnel *tunnel) in l2tp_nl_tunnel_send_addr()
386 struct l2tp_tunnel *tunnel, u8 cmd) in l2tp_nl_tunnel_send()
452 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_get() local
503 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_dump() local
534 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_session_create() local
[all …]
H A Dl2tp_ppp.c256 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg() local
333 struct l2tp_tunnel *tunnel; in pppol2tp_xmit() local
615 pppol2tp_tunnel_mtu(const struct l2tp_tunnel * tunnel) pppol2tp_tunnel_mtu() argument
630 struct l2tp_tunnel *tunnel; pppol2tp_tunnel_get() local
694 struct l2tp_tunnel *tunnel; pppol2tp_connect() local
840 pppol2tp_session_create(struct net * net,struct l2tp_tunnel * tunnel,u32 session_id,u32 peer_session_id,struct l2tp_session_cfg * cfg) pppol2tp_session_create() argument
886 struct l2tp_tunnel *tunnel; pppol2tp_getname() local
1014 pppol2tp_tunnel_copy_stats(struct pppol2tp_ioc_stats * stats,struct l2tp_tunnel * tunnel) pppol2tp_tunnel_copy_stats() argument
1138 pppol2tp_tunnel_setsockopt(struct sock * sk,struct l2tp_tunnel * tunnel,int optname,int val) pppol2tp_tunnel_setsockopt() argument
1223 struct l2tp_tunnel *tunnel; pppol2tp_setsockopt() local
1263 pppol2tp_tunnel_getsockopt(struct sock * sk,struct l2tp_tunnel * tunnel,int optname,int * val) pppol2tp_tunnel_getsockopt() argument
1329 struct l2tp_tunnel *tunnel; pppol2tp_getsockopt() local
1393 struct l2tp_tunnel *tunnel; global() member
1490 struct l2tp_tunnel *tunnel = v; pppol2tp_seq_tunnel_show() local
1509 struct l2tp_tunnel *tunnel = session->tunnel; pppol2tp_seq_session_show() 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_eth.c185 l2tp_eth_adjust_mtu(struct l2tp_tunnel * tunnel,struct l2tp_session * session,struct net_device * dev) l2tp_eth_adjust_mtu() argument
225 l2tp_eth_create(struct net * net,struct l2tp_tunnel * tunnel,u32 session_id,u32 peer_session_id,struct l2tp_session_cfg * cfg) l2tp_eth_create() argument
[all...]
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()
H A Dl2tp_ip.c134 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip_recv() local
259 struct l2tp_tunnel *tunnel; in l2tp_ip_destroy_sock() local
[all...]
H A Dl2tp_ip6.c144 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv() local
270 struct l2tp_tunnel *tunnel; in l2tp_ip6_destroy_sock() local
[all...]
/linux/drivers/net/
H A Damt.c123 static u32 amt_source_hash(struct amt_tunnel_list *tunnel, union amt_addr *src) in amt_source_hash()
184 static struct amt_source_node *amt_lookup_src(struct amt_tunnel_list *tunnel, in amt_lookup_src()
200 static u32 amt_group_hash(struct amt_tunnel_list *tunnel, union amt_addr *group) in amt_group_hash()
207 static struct amt_group_node *amt_lookup_group(struct amt_tunnel_list *tunnel, in amt_lookup_group()
228 struct amt_tunnel_list *tunnel; in amt_destroy_source() local
296 struct amt_tunnel_list *tunnel; in amt_source_work() local
315 static void amt_act_src(struct amt_tunnel_list *tunnel, in amt_act_src()
415 struct amt_tunnel_list *tunnel = gnode->tunnel_list; in amt_group_work() local
466 struct amt_tunnel_list *tunnel, in amt_add_group()
592 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
1056 struct ip_tunnel *tunnel = netdev_priv(dev); in __ip_tunnel_change_mtu() local
1086 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dev_free() local
1094 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_dellink() local
1108 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
479 struct ip_tunnel *tunnel = netdev_priv(dev); __gre_xmit() local
501 struct ip_tunnel *tunnel = netdev_priv(dev); gre_fb_xmit() local
544 struct ip_tunnel *tunnel = netdev_priv(dev); erspan_fb_xmit() local
654 struct ip_tunnel *tunnel = netdev_priv(dev); ipgre_xmit() local
706 struct ip_tunnel *tunnel = netdev_priv(dev); erspan_xmit() local
761 struct ip_tunnel *tunnel = netdev_priv(dev); gre_tap_xmit() local
789 struct ip_tunnel *tunnel = netdev_priv(dev); ipgre_link_update() local
1008 struct ip_tunnel *tunnel; __gre_tunnel_init() local
1037 struct ip_tunnel *tunnel = netdev_priv(dev); ipgre_tunnel_init() local
1351 struct ip_tunnel *tunnel = netdev_priv(dev); erspan_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
416 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() local
549 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_fill_info() local
/linux/net/ipv6/
H A Dsit.c515 struct ip_tunnel *tunnel = netdev_priv(dev); ipip6_tunnel_uninit() local
606 is_spoofed_6rd(struct ip_tunnel * tunnel,const __be32 v4addr,const struct in6_addr * v6addr) is_spoofed_6rd() argument
627 only_dnatted(const struct ip_tunnel * tunnel,const struct in6_addr * v6dst) only_dnatted() argument
644 packet_is_spoofed(struct sk_buff * skb,const struct iphdr * iph,struct ip_tunnel * tunnel) packet_is_spoofed() argument
682 struct ip_tunnel *tunnel; ipip6_rcv() local
755 struct ip_tunnel *tunnel; sit_tunnel_rcv() local
808 check_6rd(struct ip_tunnel * tunnel,const struct in6_addr * v6dst,__be32 * v4dst) check_6rd() argument
843 try_6rd(struct ip_tunnel * tunnel,const struct in6_addr * v6dst) try_6rd() argument
902 struct ip_tunnel *tunnel = netdev_priv(dev); ipip6_tunnel_xmit() local
1044 struct ip_tunnel *tunnel = netdev_priv(dev); sit_tunnel_xmit__() local
1093 struct ip_tunnel *tunnel = netdev_priv(dev); ipip6_tunnel_bind_dev() local
1404 struct ip_tunnel *tunnel = netdev_priv(dev); ipip6_dev_free() local
1417 struct ip_tunnel *tunnel = netdev_priv(dev); ipip6_tunnel_setup() local
1441 struct ip_tunnel *tunnel = netdev_priv(dev); ipip6_tunnel_init() local
1460 struct ip_tunnel *tunnel = netdev_priv(dev); ipip6_fb_tunnel_init() local
1689 struct ip_tunnel *tunnel = netdev_priv(dev); ipip6_fill_info() local
[all...]
H A Dip6_gre.c460 struct ip6_tnl *tunnel; in ip6gre_rcv() local
497 struct ip6_tnl *tunnel; ip6erspan_rcv() local
722 struct ip6_tnl *tunnel = netdev_priv(dev); __gre6_xmit() local
1164 ip6gre_calc_hlen(struct ip6_tnl * tunnel) ip6gre_calc_hlen() argument
1474 struct ip6_tnl *tunnel; ip6gre_tunnel_init_common() local
1514 struct ip6_tnl *tunnel; ip6gre_tunnel_init() local
1537 struct ip6_tnl *tunnel = netdev_priv(dev); ip6gre_fb_tunnel_init() local
1832 ip6erspan_calc_hlen(struct ip6_tnl * tunnel) ip6erspan_calc_hlen() argument
1847 struct ip6_tnl *tunnel; ip6erspan_tap_init() local
[all...]
H A Dip6_tunnel.c798 __ip6_tnl_rcv(struct ip6_tnl * tunnel,struct sk_buff * skb,const struct tnl_ptk_info * tpi,struct metadata_dst * tun_dst,int (* dscp_ecn_decapsulate)(const struct ip6_tnl * t,const struct ipv6hdr * ipv6h,struct sk_buff * skb),bool log_ecn_err) __ip6_tnl_rcv() argument
2187 struct ip6_tnl *tunnel = netdev_priv(dev); ip6_tnl_fill_info() local
2219 struct ip6_tnl *tunnel = netdev_priv(dev); ip6_tnl_get_link_net() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/en/
H A Dtc_tun.c124 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); mlx5e_route_lookup_ipv6_get() local
775 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(netdev); mlx5e_tc_tun_device_to_offload() local
788 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(tunnel_dev); mlx5e_tc_tun_init_encap_attr() local
804 struct mlx5e_tc_tunnel *tunnel = mlx5e_get_tc_tun(filter_dev); mlx5e_tc_tun_parse() local
[all...]
/linux/drivers/net/ethernet/mellanox/mlx5/core/lag/
H A Dport_sel.h26 bool tunnel; member
/linux/net/netfilter/
H A Dnft_tunnel.c131 const struct nft_tunnel *tunnel; nft_tunnel_get_reduce() local
/linux/net/sched/
H A Dact_tunnel_key.c779 struct ip_tunnel_info *tunnel = priv; in tcf_tunnel_encap_put_tunnel() local

12