Home
last modified time | relevance | path

Searched refs:tunnel (Results 1 – 59 of 59) sorted by relevance

/linux-4.1.27/drivers/thunderbolt/
Dtunnel_pci.c13 #define __TB_TUNNEL_PRINT(level, tunnel, fmt, arg...) \ argument
15 struct tb_pci_tunnel *__tunnel = (tunnel); \
24 #define tb_tunnel_WARN(tunnel, fmt, arg...) \ argument
25 __TB_TUNNEL_PRINT(tb_WARN, tunnel, fmt, ##arg)
26 #define tb_tunnel_warn(tunnel, fmt, arg...) \ argument
27 __TB_TUNNEL_PRINT(tb_warn, tunnel, fmt, ##arg)
28 #define tb_tunnel_info(tunnel, fmt, arg...) \ argument
29 __TB_TUNNEL_PRINT(tb_info, tunnel, fmt, ##arg)
61 struct tb_pci_tunnel *tunnel = kzalloc(sizeof(*tunnel), GFP_KERNEL); in tb_pci_alloc() local
62 if (!tunnel) in tb_pci_alloc()
[all …]
Dtb.c65 struct tb_pci_tunnel *tunnel; in tb_free_invalid_tunnels() local
67 list_for_each_entry_safe(tunnel, n, &tb->tunnel_list, list) in tb_free_invalid_tunnels()
69 if (tb_pci_is_invalid(tunnel)) { in tb_free_invalid_tunnels()
70 tb_pci_deactivate(tunnel); in tb_free_invalid_tunnels()
71 tb_pci_free(tunnel); in tb_free_invalid_tunnels()
151 struct tb_pci_tunnel *tunnel; in tb_activate_pcie_devices() local
185 tunnel = tb_pci_alloc(tb, up_port, down_port); in tb_activate_pcie_devices()
186 if (!tunnel) { in tb_activate_pcie_devices()
192 if (tb_pci_activate(tunnel)) { in tb_activate_pcie_devices()
195 tb_pci_free(tunnel); in tb_activate_pcie_devices()
[all …]
Dtunnel_pci.h23 void tb_pci_free(struct tb_pci_tunnel *tunnel);
24 int tb_pci_activate(struct tb_pci_tunnel *tunnel);
25 int tb_pci_restart(struct tb_pci_tunnel *tunnel);
26 void tb_pci_deactivate(struct tb_pci_tunnel *tunnel);
27 bool tb_pci_is_invalid(struct tb_pci_tunnel *tunnel);
/linux-4.1.27/net/l2tp/
Dl2tp_core.c116 static void l2tp_tunnel_free(struct l2tp_tunnel *tunnel);
133 static inline void l2tp_tunnel_inc_refcount_1(struct l2tp_tunnel *tunnel) in l2tp_tunnel_inc_refcount_1() argument
135 atomic_inc(&tunnel->ref_count); in l2tp_tunnel_inc_refcount_1()
138 static inline void l2tp_tunnel_dec_refcount_1(struct l2tp_tunnel *tunnel) in l2tp_tunnel_dec_refcount_1() argument
140 if (atomic_dec_and_test(&tunnel->ref_count)) in l2tp_tunnel_dec_refcount_1()
141 l2tp_tunnel_free(tunnel); in l2tp_tunnel_dec_refcount_1()
179 static struct sock *l2tp_tunnel_sock_lookup(struct l2tp_tunnel *tunnel) in l2tp_tunnel_sock_lookup() argument
185 if (!tunnel) in l2tp_tunnel_sock_lookup()
188 if (tunnel->fd >= 0) { in l2tp_tunnel_sock_lookup()
193 sock = sockfd_lookup(tunnel->fd, &err); in l2tp_tunnel_sock_lookup()
[all …]
Dl2tp_debugfs.c44 struct l2tp_tunnel *tunnel; member
50 pd->tunnel = l2tp_tunnel_find_nth(pd->net, pd->tunnel_idx); in l2tp_dfs_next_tunnel()
56 pd->session = l2tp_session_find_nth(pd->tunnel, pd->session_idx); in l2tp_dfs_next_session()
77 if (pd->tunnel == NULL) in l2tp_dfs_seq_start()
83 if ((pd->tunnel == NULL) && (pd->session == NULL)) in l2tp_dfs_seq_start()
104 struct l2tp_tunnel *tunnel = v; in l2tp_dfs_seq_tunnel_show() local
110 read_lock_bh(&tunnel->hlist_lock); in l2tp_dfs_seq_tunnel_show()
112 hlist_for_each_safe(walk, tmp, &tunnel->session_hlist[hash]) { in l2tp_dfs_seq_tunnel_show()
122 read_unlock_bh(&tunnel->hlist_lock); in l2tp_dfs_seq_tunnel_show()
124 seq_printf(m, "\nTUNNEL %u peer %u", tunnel->tunnel_id, tunnel->peer_tunnel_id); in l2tp_dfs_seq_tunnel_show()
[all …]
Dl2tp_ppp.c305 struct l2tp_tunnel *tunnel; in pppol2tp_sendmsg() local
320 tunnel = l2tp_sock_to_tunnel(ps->tunnel_sock); in pppol2tp_sendmsg()
321 if (tunnel == NULL) in pppol2tp_sendmsg()
324 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; in pppol2tp_sendmsg()
391 struct l2tp_tunnel *tunnel; in pppol2tp_xmit() local
407 tunnel = l2tp_sock_to_tunnel(sk_tun); in pppol2tp_xmit()
408 if (tunnel == NULL) in pppol2tp_xmit()
411 uhlen = (tunnel->encap == L2TP_ENCAPTYPE_UDP) ? sizeof(struct udphdr) : 0; in pppol2tp_xmit()
595 struct l2tp_tunnel *tunnel; in pppol2tp_connect() local
670 tunnel = l2tp_tunnel_find(sock_net(sk), tunnel_id); in pppol2tp_connect()
[all …]
Dl2tp_netlink.c50 int flags, struct l2tp_tunnel *tunnel, u8 cmd);
63 struct l2tp_tunnel *tunnel; in l2tp_nl_session_find() local
74 tunnel = l2tp_tunnel_find(net, tunnel_id); in l2tp_nl_session_find()
75 if (tunnel) in l2tp_nl_session_find()
76 session = l2tp_session_find(net, tunnel, session_id); in l2tp_nl_session_find()
114 struct l2tp_tunnel *tunnel, in l2tp_tunnel_notify() argument
125 NLM_F_ACK, tunnel, cmd); in l2tp_tunnel_notify()
176 struct l2tp_tunnel *tunnel; in l2tp_nl_cmd_tunnel_create() local
244 tunnel = l2tp_tunnel_find(net, tunnel_id); in l2tp_nl_cmd_tunnel_create()
245 if (tunnel != NULL) { in l2tp_nl_cmd_tunnel_create()
[all …]
Dl2tp_core.h89 struct l2tp_tunnel *tunnel; /* back pointer to tunnel member
213 static inline void *l2tp_tunnel_priv(struct l2tp_tunnel *tunnel) in l2tp_tunnel_priv() argument
215 return &tunnel->priv[0]; in l2tp_tunnel_priv()
225 struct l2tp_tunnel *tunnel; in l2tp_sock_to_tunnel() local
231 tunnel = (struct l2tp_tunnel *)(sk->sk_user_data); in l2tp_sock_to_tunnel()
232 if (tunnel == NULL) { in l2tp_sock_to_tunnel()
237 BUG_ON(tunnel->magic != L2TP_TUNNEL_MAGIC); in l2tp_sock_to_tunnel()
240 return tunnel; in l2tp_sock_to_tunnel()
244 struct l2tp_tunnel *tunnel,
246 struct l2tp_session *l2tp_session_find_nth(struct l2tp_tunnel *tunnel, int nth);
[all …]
Dl2tp_ip.c123 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip_recv() local
149 tunnel = session->tunnel; in l2tp_ip_recv()
150 if (tunnel == NULL) in l2tp_ip_recv()
154 if (tunnel->debug & L2TP_MSG_DATA) { in l2tp_ip_recv()
159 pr_debug("%s: ip recv\n", tunnel->name); in l2tp_ip_recv()
163 l2tp_recv_common(session, skb, ptr, optr, 0, skb->len, tunnel->recv_payload_hook); in l2tp_ip_recv()
176 tunnel = l2tp_tunnel_find(net, tunnel_id); in l2tp_ip_recv()
177 if (tunnel != NULL) in l2tp_ip_recv()
178 sk = tunnel->sock; in l2tp_ip_recv()
231 struct l2tp_tunnel *tunnel = l2tp_sock_to_tunnel(sk); in l2tp_ip_destroy_sock() local
[all …]
Dl2tp_ip6.c135 struct l2tp_tunnel *tunnel = NULL; in l2tp_ip6_recv() local
161 tunnel = session->tunnel; in l2tp_ip6_recv()
162 if (tunnel == NULL) in l2tp_ip6_recv()
166 if (tunnel->debug & L2TP_MSG_DATA) { in l2tp_ip6_recv()
171 pr_debug("%s: ip recv\n", tunnel->name); in l2tp_ip6_recv()
176 tunnel->recv_payload_hook); in l2tp_ip6_recv()
188 tunnel = l2tp_tunnel_find(&init_net, tunnel_id); in l2tp_ip6_recv()
189 if (tunnel != NULL) in l2tp_ip6_recv()
190 sk = tunnel->sock; in l2tp_ip6_recv()
244 struct l2tp_tunnel *tunnel = l2tp_sock_to_tunnel(sk); in l2tp_ip6_destroy_sock() local
[all …]
Dl2tp_eth.c213 struct l2tp_tunnel *tunnel; in l2tp_eth_create() local
220 tunnel = l2tp_tunnel_find(net, tunnel_id); in l2tp_eth_create()
221 if (!tunnel) { in l2tp_eth_create()
226 session = l2tp_session_find(net, tunnel, session_id); in l2tp_eth_create()
243 session = l2tp_session_create(sizeof(*spriv), tunnel, session_id, in l2tp_eth_create()
268 priv->tunnel_sock = tunnel->sock; in l2tp_eth_create()
DKconfig19 L2TP is often used to tunnel PPP traffic over IP
20 tunnels. One IP tunnel may carry thousands of individual PPP
29 userland daemon handles L2TP the control protocol (tunnel
67 tunnel raw ethernet frames using L2TP, say Y here. If
79 userspace L2TPv3 daemons may create L2TP/IP tunnel sockets
/linux-4.1.27/net/ipv4/
Dip_tunnel.c300 struct ip_tunnel *tunnel; in __ip_tunnel_create() local
325 tunnel = netdev_priv(dev); in __ip_tunnel_create()
326 tunnel->parms = *parms; in __ip_tunnel_create()
327 tunnel->net = net; in __ip_tunnel_create()
358 struct ip_tunnel *tunnel = netdev_priv(dev); in ip_tunnel_bind_dev() local
362 int t_hlen = tunnel->hlen + sizeof(struct iphdr); in ip_tunnel_bind_dev()
364 iph = &tunnel->parms.iph; in ip_tunnel_bind_dev()
372 iph->saddr, tunnel->parms.o_key, in ip_tunnel_bind_dev()
373 RT_TOS(iph->tos), tunnel->parms.link); in ip_tunnel_bind_dev()
374 rt = ip_route_output_key(tunnel->net, &fl4); in ip_tunnel_bind_dev()
[all …]
Dip_vti.c56 struct ip_tunnel *tunnel; in vti_input() local
61 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY, in vti_input()
63 if (tunnel) { in vti_input()
67 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = tunnel; in vti_input()
92 struct ip_tunnel *tunnel = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4; in vti_rcv_cb() local
96 if (!tunnel) in vti_rcv_cb()
99 dev = tunnel->dev; in vti_rcv_cb()
111 skb->mark = be32_to_cpu(tunnel->parms.i_key); in vti_rcv_cb()
118 skb_scrub_packet(skb, !net_eq(tunnel->net, dev_net(skb->dev))); in vti_rcv_cb()
155 struct ip_tunnel *tunnel = netdev_priv(dev); in vti_xmit() local
[all …]
Dip_gre.c208 struct ip_tunnel *tunnel; in ipgre_rcv() local
216 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, tpi->flags, in ipgre_rcv()
219 if (tunnel) { in ipgre_rcv()
221 ip_tunnel_rcv(tunnel, skb, tpi, log_ecn_error); in ipgre_rcv()
231 struct ip_tunnel *tunnel = netdev_priv(dev); in __gre_xmit() local
234 tpi.flags = tunnel->parms.o_flags; in __gre_xmit()
236 tpi.key = tunnel->parms.o_key; in __gre_xmit()
237 if (tunnel->parms.o_flags & TUNNEL_SEQ) in __gre_xmit()
238 tunnel->o_seqno++; in __gre_xmit()
239 tpi.seq = htonl(tunnel->o_seqno); in __gre_xmit()
[all …]
Dipip.c190 struct ip_tunnel *tunnel; in ipip_rcv() local
194 tunnel = ip_tunnel_lookup(itn, skb->dev->ifindex, TUNNEL_NO_KEY, in ipip_rcv()
196 if (tunnel) { in ipip_rcv()
201 return ip_tunnel_rcv(tunnel, skb, &tpi, log_ecn_error); in ipip_rcv()
217 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_xmit() local
218 const struct iphdr *tiph = &tunnel->parms.iph; in ipip_tunnel_xmit()
301 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip_tunnel_init() local
303 memcpy(dev->dev_addr, &tunnel->parms.iph.saddr, 4); in ipip_tunnel_init()
304 memcpy(dev->broadcast, &tunnel->parms.iph.daddr, 4); in ipip_tunnel_init()
306 tunnel->tun_hlen = 0; in ipip_tunnel_init()
[all …]
Dxfrm4_protocol.c73 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_rcv_encap()
97 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_esp_rcv()
123 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_ah_rcv()
149 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_ipcomp_rcv()
Dipcomp.c116 x->tunnel = t; in ipcomp_tunnel_attach()
DKconfig204 through the tunnel.
306 encapsulating protocol. This can be used with xfrm mode tunnel to give
307 the notion of a secure tunnel for IPSEC and then use routing protocol
341 to tunnel virtual network infrastructure in virtualized environments.
404 tristate "IP: IPsec tunnel mode"
408 Support for IPsec tunnel mode.
/linux-4.1.27/net/ipv6/
Dsit.c75 static bool check_6rd(struct ip_tunnel *tunnel, const struct in6_addr *v6dst,
469 struct ip_tunnel *tunnel = netdev_priv(dev); in ipip6_tunnel_uninit() local
470 struct sit_net *sitn = net_generic(tunnel->net, sit_net_id); in ipip6_tunnel_uninit()
475 ipip6_tunnel_unlink(sitn, tunnel); in ipip6_tunnel_uninit()
476 ipip6_tunnel_del_prl(tunnel, NULL); in ipip6_tunnel_uninit()
478 ip_tunnel_dst_reset_all(tunnel); in ipip6_tunnel_uninit()
593 static inline bool is_spoofed_6rd(struct ip_tunnel *tunnel, const __be32 v4addr, in is_spoofed_6rd() argument
597 if (check_6rd(tunnel, v6addr, &v4embed) && v4addr != v4embed) in is_spoofed_6rd()
614 static bool only_dnatted(const struct ip_tunnel *tunnel, in only_dnatted() argument
620 prefix_len = tunnel->ip6rd.prefixlen + 32 in only_dnatted()
[all …]
Dip6_gre.c455 struct ip6_tnl *tunnel; in ip6gre_rcv() local
490 tunnel = ip6gre_tunnel_lookup(skb->dev, in ip6gre_rcv()
493 if (tunnel) { in ip6gre_rcv()
499 if (!ip6_tnl_rcv_ctl(tunnel, &ipv6h->daddr, &ipv6h->saddr)) { in ip6gre_rcv()
500 tunnel->dev->stats.rx_dropped++; in ip6gre_rcv()
520 (!(flags&GRE_CSUM) && tunnel->parms.i_flags&GRE_CSUM)) { in ip6gre_rcv()
521 tunnel->dev->stats.rx_crc_errors++; in ip6gre_rcv()
522 tunnel->dev->stats.rx_errors++; in ip6gre_rcv()
525 if (tunnel->parms.i_flags&GRE_SEQ) { in ip6gre_rcv()
527 (tunnel->i_seqno && in ip6gre_rcv()
[all …]
DKconfig115 tristate "IPv6: IPsec tunnel mode"
119 Support for IPsec tunnel mode.
146 encapsulating protocol. This can be used with xfrm mode tunnel to give
147 the notion of a secure tunnel for IPSEC and then use routing protocol
151 tristate "IPv6: IPv6-in-IPv4 tunnel (SIT driver)"
188 tristate "IPv6: IP-in-IPv6 tunnel (RFC2473)"
197 tristate "IPv6: GRE tunnel"
209 through the tunnel.
Dxfrm6_protocol.c71 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6 = NULL; in xfrm6_esp_rcv()
98 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6 = NULL; in xfrm6_ah_rcv()
125 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6 = NULL; in xfrm6_ipcomp_rcv()
Dip6_vti.c324 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6 = t; in vti6_rcv()
343 struct ip6_tnl *t = XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6; in vti6_rcv_cb()
999 struct ip6_tnl *tunnel = netdev_priv(dev); in vti6_fill_info() local
1000 struct __ip6_tnl_parm *parm = &tunnel->parms; in vti6_fill_info()
Dipcomp6.c142 x->tunnel = t; in ipcomp6_tunnel_attach()
Dip6_tunnel.c1742 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_fill_info() local
1743 struct __ip6_tnl_parm *parm = &tunnel->parms; in ip6_tnl_fill_info()
1762 struct ip6_tnl *tunnel = netdev_priv(dev); in ip6_tnl_get_link_net() local
1764 return tunnel->net; in ip6_tnl_get_link_net()
/linux-4.1.27/Documentation/networking/
Dl2tp.txt3 more sessions over an IP tunnel. It is commonly used for VPNs
4 (L2TP/IPSec) and by ISPs to tunnel subscriber PPP sessions over an IP
21 L2TPv2 functionality (rfc2661). L2TPv2 is used to tunnel one or more PPP
22 sessions over a UDP tunnel.
25 to be passed over an L2TP tunnel by moving the PPP-specific parts of
49 Each L2TP tunnel is implemented using a UDP or L2TPIP socket; L2TPIP
51 new l2tpip socket family. The tunnel socket is typically created by
71 tunnel, the interface can be given an IP addresses of itself and its
72 peer. If non-IP frames are to be passed over the tunnel, the interface
76 Each tunnel and session within a tunnel is assigned a unique tunnel_id
[all …]
Dip_dynaddr.txt12 received by the tunnel.
Dvxlan.txt11 This document describes the Linux kernel tunnel device,
Dipddp.txt62 Macs that are only able to tunnel IP over EtherTalk.
Dphonet.txt64 The virtual TUN tunnel device driver can also be used for Phonet. This
Dpktgen.txt228 To avoid breaking existing testbed scripts for using AH type and tunnel mode,
D00-INDEX132 - User guide to the L2TP tunnel protocol.
Dbonding.txt885 improve the performance for tunnel users because the
895 improve the performance for tunnel users because the
/linux-4.1.27/net/openvswitch/
Dflow.h55 struct ovs_key_ipv4_tunnel tunnel; member
79 tun_info->tunnel.tun_id = tun_id; in __ovs_flow_tun_info_init()
80 tun_info->tunnel.ipv4_src = saddr; in __ovs_flow_tun_info_init()
81 tun_info->tunnel.ipv4_dst = daddr; in __ovs_flow_tun_info_init()
82 tun_info->tunnel.ipv4_tos = tos; in __ovs_flow_tun_info_init()
83 tun_info->tunnel.ipv4_ttl = ttl; in __ovs_flow_tun_info_init()
84 tun_info->tunnel.tun_flags = tun_flags; in __ovs_flow_tun_info_init()
90 tun_info->tunnel.tp_src = tp_src; in __ovs_flow_tun_info_init()
91 tun_info->tunnel.tp_dst = tp_dst; in __ovs_flow_tun_info_init()
94 if (sizeof(tun_info->tunnel) != OVS_TUNNEL_KEY_SIZE) in __ovs_flow_tun_info_init()
[all …]
Dvport-gre.c72 tun_key = &OVS_CB(skb)->egress_tun_info->tunnel; in __build_header()
150 tun_key = &OVS_CB(skb)->egress_tun_info->tunnel; in gre_tnl_send()
Dvport-vxlan.c214 if (tun_info->tunnel.tun_flags & TUNNEL_VXLAN_OPT && in vxlan_ext_gbp()
241 tun_key = &OVS_CB(skb)->egress_tun_info->tunnel; in vxlan_tnl_send()
Dvport-geneve.c191 tun_key = &tun_info->tunnel; in geneve_tnl_send()
Dvport.c590 tun_key = &tun_info->tunnel; in ovs_tunnel_get_egress_info()
Dflow_netlink.c713 return __ipv4_tun_to_nlattr(skb, &egress_tun_info->tunnel, in ovs_nla_put_egress_tunnel_key()
1780 tun_info->tunnel = key.tun_key; in validate_and_copy_set_tun()
2236 err = ipv4_tun_to_nlattr(skb, &tun_info->tunnel, in set_action_to_attr()
Dflow.c690 memcpy(&key->tun_key, &tun_info->tunnel, sizeof(key->tun_key)); in ovs_flow_key_extract()
/linux-4.1.27/Documentation/devicetree/bindings/i2c/
Di2c-cros-ec-tunnel.txt6 to tunnel our i2c commands through the EC.
13 - compatible: google,cros-ec-i2c-tunnel
26 i2c-tunnel {
27 compatible = "google,cros-ec-i2c-tunnel";
/linux-4.1.27/drivers/isdn/mISDN/
DKconfig29 tristate "ISDN over IP tunnel"
32 Enable support for ISDN over IP tunnel.
/linux-4.1.27/drivers/infiniband/hw/mlx4/
Dmad.c1286 struct mlx4_tunnel_mad *tunnel = tun_qp->ring[wr_ix].addr; in mlx4_ib_multiplex_mad() local
1312 switch (tunnel->mad.mad_hdr.method) { in mlx4_ib_multiplex_mad()
1320 slave_id = (u8 *) &tunnel->mad.mad_hdr.tid; in mlx4_ib_multiplex_mad()
1324 tunnel->mad.mad_hdr.mgmt_class, slave); in mlx4_ib_multiplex_mad()
1333 switch (tunnel->mad.mad_hdr.mgmt_class) { in mlx4_ib_multiplex_mad()
1342 (struct ib_sa_mad *) &tunnel->mad)) in mlx4_ib_multiplex_mad()
1347 (struct ib_mad *) &tunnel->mad)) in mlx4_ib_multiplex_mad()
1351 if (tunnel->mad.mad_hdr.method != IB_MGMT_METHOD_GET && in mlx4_ib_multiplex_mad()
1352 tunnel->mad.mad_hdr.method != IB_MGMT_METHOD_SET) in mlx4_ib_multiplex_mad()
1359 "for slave:%d\n", tunnel->mad.mad_hdr.mgmt_class, slave); in mlx4_ib_multiplex_mad()
[all …]
/linux-4.1.27/net/xfrm/
Dxfrm_input.c210 if (XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4) { in xfrm_input()
213 mark = be32_to_cpu(XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4->parms.i_key); in xfrm_input()
216 mark = be32_to_cpu(XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6->parms.i_key); in xfrm_input()
Dxfrm_state.c1959 if (x->tunnel) { in xfrm_state_delete_tunnel()
1960 struct xfrm_state *t = x->tunnel; in xfrm_state_delete_tunnel()
1966 x->tunnel = NULL; in xfrm_state_delete_tunnel()
/linux-4.1.27/include/net/
Dxfrm.h179 struct xfrm_state *tunnel; member
617 } tunnel; member
1518 XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4 = NULL; in xfrm4_rcv_spi()
1792 bool tunnel = false; in xfrm_tunnel_check() local
1796 if (XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip4) in xfrm_tunnel_check()
1797 tunnel = true; in xfrm_tunnel_check()
1800 if (XFRM_TUNNEL_SKB_CB(skb)->tunnel.ip6) in xfrm_tunnel_check()
1801 tunnel = true; in xfrm_tunnel_check()
1804 if (tunnel && !(x->outer_mode->flags & XFRM_MODE_FLAG_TUNNEL)) in xfrm_tunnel_check()
Dip_tunnels.h165 int ip_tunnel_rcv(struct ip_tunnel *tunnel, struct sk_buff *skb,
/linux-4.1.27/net/tipc/
Dlink.c1543 struct tipc_link *tunnel; in tipc_link_tunnel_xmit() local
1547 tunnel = l_ptr->owner->active_links[selector & 1]; in tipc_link_tunnel_xmit()
1548 if (!tipc_link_is_up(tunnel)) { in tipc_link_tunnel_xmit()
1560 __tipc_link_xmit_skb(tunnel, skb); in tipc_link_tunnel_xmit()
1573 struct tipc_link *tunnel = l_ptr->owner->active_links[0]; in tipc_link_failover_send_queue() local
1578 if (!tunnel) in tipc_link_failover_send_queue()
1594 __tipc_link_xmit_skb(tunnel, skb); in tipc_link_failover_send_queue()
/linux-4.1.27/drivers/net/ethernet/intel/
DKconfig202 to tunnel virtual network infrastructure in virtualized environments.
281 to tunnel virtual network infrastructure in virtualized environments.
352 to tunnel virtual network infrastructure in virtualized environments.
/linux-4.1.27/drivers/i2c/busses/
DMakefile108 obj-$(CONFIG_I2C_CROS_EC_TUNNEL) += i2c-cros-ec-tunnel.o
DKconfig1105 tristate "ChromeOS EC tunnel I2C bus"
1108 If you say yes here you get an I2C bus that will tunnel i2c commands
/linux-4.1.27/arch/arm/boot/dts/
Dtegra124-nyan.dtsi312 i2c-tunnel {
313 compatible = "google,cros-ec-i2c-tunnel";
Dexynos5420-peach-pit.dts33 i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel";
948 i2c-tunnel {
949 compatible = "google,cros-ec-i2c-tunnel";
Dexynos5800-peach-pi.dts31 i2c20 = "/spi@12d40000/cros-ec@0/i2c-tunnel";
911 i2c-tunnel {
912 compatible = "google,cros-ec-i2c-tunnel";
Dtegra124-venice2.dts837 i2c-tunnel {
838 compatible = "google,cros-ec-i2c-tunnel";
/linux-4.1.27/drivers/net/
DKconfig175 to tunnel virtual network infrastructure in virtualized environments.
250 This device is a local ethernet tunnel. Devices are created in pairs.
/linux-4.1.27/drivers/net/ppp/
DKconfig148 used by ISPs and enterprises to tunnel PPP traffic over UDP
/linux-4.1.27/Documentation/powerpc/
Dhvcs.txt279 almost all data writes. When hvcs is being used as a tty conduit to tunnel