Home
last modified time | relevance | path

Searched refs:tun (Results 1 – 25 of 34) sorted by relevance

12

/external/openssh/openbsd-compat/
Dport-tun.c58 sys_tun_open(int tun, int mode) in sys_tun_open() argument
81 if (tun != SSH_TUNID_ANY) { in sys_tun_open()
82 if (tun > SSH_TUNID_MAX) { in sys_tun_open()
84 tun, strerror(errno)); in sys_tun_open()
87 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), name, tun); in sys_tun_open()
96 if (tun == SSH_TUNID_ANY) in sys_tun_open()
118 sys_tun_open(int tun, int mode) in sys_tun_open() argument
135 if (tun <= SSH_TUNID_MAX) { in sys_tun_open()
136 snprintf(name, sizeof(name), "/dev/%s%d", tunbase, tun); in sys_tun_open()
138 } else if (tun == SSH_TUNID_ANY) { in sys_tun_open()
[all …]
DMakefile.in23 PORTS=port-aix.o port-irix.o port-linux.o port-solaris.o port-tun.o port-uw.o
/external/openssh/
Dmisc.c250 int tun; in a2tun() local
261 tun = a2tun(sp, NULL); in a2tun()
263 return (*remote == SSH_TUNID_ERR ? *remote : tun); in a2tun()
269 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr); in a2tun()
273 return (tun); in a2tun()
647 tun_open(int tun, int mode) in tun_open() argument
650 return (sys_tun_open(tun, mode)); in tun_open()
657 if (tun <= SSH_TUNID_MAX) { in tun_open()
658 snprintf(name, sizeof(name), "/dev/tun%d", tun); in tun_open()
660 } else if (tun == SSH_TUNID_ANY) { in tun_open()
[all …]
Dauth-options.c359 char *tun = NULL; in auth_parse_options() local
361 tun = xmalloc(strlen(opts) + 1); in auth_parse_options()
366 tun[i++] = *opts++; in auth_parse_options()
373 xfree(tun); in auth_parse_options()
377 tun[i] = '\0'; in auth_parse_options()
378 forced_tun_device = a2tun(tun, NULL); in auth_parse_options()
379 xfree(tun); in auth_parse_options()
DREADME.tun4 OpenSSH contains support for VPN tunneling using the tun(4) network
40 OpenBSD also supports layer 2 tunneling over the tun device by adding
132 $OpenBSD: README.tun,v 1.4 2006/03/28 00:12:31 deraadt Exp $
Dserverloop.c974 int mode, tun; in server_request_tun() local
992 tun = packet_get_int(); in server_request_tun()
994 if (tun != SSH_TUNID_ANY && forced_tun_device != tun) in server_request_tun()
996 tun = forced_tun_device; in server_request_tun()
998 sock = tun_open(tun, mode); in server_request_tun()
DPROTOCOL123 2.3. connection: Tunnel forward extension "tun@openssh.com"
125 OpenSSH supports layer 2 and layer 3 tunnelling via the "tun@openssh.com"
128 interfaces like the BSD tun(4) device. Tunnel forwarding channels are
132 string "tun@openssh.com"
DAndroid.mk23 openbsd-compat/port-tun.c openbsd-compat/setproctitle.c \
DREADME.platform49 Darwin does not provide a tun(4) driver required for OpenSSH-based
Dssh.0350 Requests tunnel device forwarding with the specified tun(4)
646 the tun(4) network pseudo-device, allowing two networks to be joined
669 entry would permit connections on tun(4) device 1 from user ``jane'' and
670 on tun device 2 from user ``john'', if PermitRootLogin is set to
857 tun(4), hosts.equiv(5), ssh_config(5), ssh-keysign(8), sshd(8)
Dssh_config.0663 Tunnel Request tun(4) device forwarding between the client and the
670 Specifies the tun(4) devices to open on the client (local_tun)
/external/wpa_supplicant_6/wpa_supplicant/src/radius/
Dradius.c1176 struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun; in radius_msg_get_vlanid() local
1192 tun = &tunnel[0]; in radius_msg_get_vlanid()
1194 tun = &tunnel[data[0]]; in radius_msg_get_vlanid()
1200 tun->tag_used++; in radius_msg_get_vlanid()
1201 tun->type = WPA_GET_BE24(data + 1); in radius_msg_get_vlanid()
1206 tun->tag_used++; in radius_msg_get_vlanid()
1207 tun->medium_type = WPA_GET_BE24(data + 1); in radius_msg_get_vlanid()
1218 tun->tag_used++; in radius_msg_get_vlanid()
1219 tun->vlanid = atoi(buf); in radius_msg_get_vlanid()
1225 tun = &tunnel[i]; in radius_msg_get_vlanid()
[all …]
/external/libppp/src/
Dip.c910 struct tun_data tun; in ip_Input() local
915 if (nb > sizeof tun.data) { in ip_Input()
917 l->name, nb, (int)(sizeof tun.data)); in ip_Input()
921 mbuf_Read(bp, tun.data, nb); in ip_Input()
924 if (PacketCheck(bundle, af, tun.data, nb, &bundle->filter.in, in ip_Input()
929 if (!FilterCheck(tun.data, af, &bundle->filter.alive, &alivesecs)) { in ip_Input()
936 tun.header.family = htonl(af); in ip_Input()
937 nb += sizeof tun - sizeof tun.data; in ip_Input()
938 data = (char *)&tun; in ip_Input()
940 data = tun.data; in ip_Input()
Dbundle.c552 struct tun_data tun; in bundle_DescriptorRead() local
558 data = (u_char *)&tun; in bundle_DescriptorRead()
559 sz = sizeof tun; in bundle_DescriptorRead()
561 data = tun.data; in bundle_DescriptorRead()
562 sz = sizeof tun.data; in bundle_DescriptorRead()
574 n -= sz - sizeof tun.data; in bundle_DescriptorRead()
580 af = ntohl(tun.header.family); in bundle_DescriptorRead()
591 if (af == AF_INET && ((struct ip *)tun.data)->ip_dst.s_addr == in bundle_DescriptorRead()
595 pri = PacketCheck(bundle, af, tun.data, n, &bundle->filter.in, in bundle_DescriptorRead()
598 n += sz - sizeof tun.data; in bundle_DescriptorRead()
[all …]
DMakefile12 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
DREADME.changes95 o Ppp can use tun devices > tun255.
Dppp.8.m455 tunnel device driver (tun).
89 .Pa /dev/tun Ns Ar N .
107 opens the tun interface, configures it then goes into the background.
108 The link is not brought up until outgoing data is detected on the tun
1527 set log Phase Chat Connect hdlc LCP IPCP IPV6CP CCP tun
2359 Include the tun device on each log line.
3199 smaller subnets routed via the tun interface.
4296 first reads data from the tun device.
5410 The tun interface netmask is set to the given value.
5415 command), the tun interface MTU is set to the given value.
[all …]
/external/wpa_supplicant_8/src/radius/
Dradius.c1339 struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun; in radius_msg_get_vlanid() local
1357 tun = &tunnel[0]; in radius_msg_get_vlanid()
1359 tun = &tunnel[data[0]]; in radius_msg_get_vlanid()
1365 tun->tag_used++; in radius_msg_get_vlanid()
1366 tun->type = WPA_GET_BE24(data + 1); in radius_msg_get_vlanid()
1371 tun->tag_used++; in radius_msg_get_vlanid()
1372 tun->medium_type = WPA_GET_BE24(data + 1); in radius_msg_get_vlanid()
1383 tun->tag_used++; in radius_msg_get_vlanid()
1384 tun->vlanid = atoi(buf); in radius_msg_get_vlanid()
1390 tun = &tunnel[i]; in radius_msg_get_vlanid()
[all …]
/external/ipsec-tools/
Dmain.c108 int tun = open("/dev/tun", 0); in android_hook() local
118 if (ioctl(tun, TUNSETIFF, &ifr)) { in android_hook()
/external/openssh/contrib/cygwin/
DMakefile51 $(INSTALL) -m 644 $(srcdir)/README.tun $(DESTDIR)$(sshdocdir)/README.tun
/external/icu4c/data/curr/
Dksf.txt196 "mɔni mǝ á tunɛsí",
/external/icu4c/data/region/
Dksf.txt214 TN{"tunɛsí"}
Dbas.txt230 WF{"Wàlîs nì Fùtunà"}
/external/icu4c/data/translit/
Des_FONIPA_zh.txt422 tun } $not_vowel → 通 ;
DLatin_Bopomofo.txt350 tun }$pTone ↔ ㄊㄨㄣ }$zTone;
351 tun → ㄊㄨㄣ˙;

12