| /mirbsd/src/usr.bin/ssh/ |
| D | misc.c | 233 int tun; in a2tun() local 244 tun = a2tun(sp, NULL); in a2tun() 246 return (*remote == SSH_TUNID_ERR ? *remote : tun); in a2tun() 252 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr); in a2tun() 256 return (tun); in a2tun() 630 tun_open(int tun, int mode) in tun_open() argument 637 if (tun <= SSH_TUNID_MAX) { in tun_open() 638 snprintf(name, sizeof(name), "/dev/tun%d", tun); in tun_open() 640 } else if (tun == SSH_TUNID_ANY) { in tun_open() 641 for (tun = 100; tun >= 0; tun--) { in tun_open() [all …]
|
| D | auth-options.c | 308 char *tun = NULL; in auth_parse_options() local 310 tun = xmalloc(strlen(opts) + 1); in auth_parse_options() 315 tun[i++] = *opts++; in auth_parse_options() 322 xfree(tun); in auth_parse_options() 326 tun[i] = '\0'; in auth_parse_options() 327 forced_tun_device = a2tun(tun, NULL); in auth_parse_options() 328 xfree(tun); in auth_parse_options()
|
| D | serverloop.c | 943 int mode, tun; in server_request_tun() local 961 tun = packet_get_int(); in server_request_tun() 963 if (tun != SSH_TUNID_ANY && forced_tun_device != tun) in server_request_tun() 965 tun = forced_tun_device; in server_request_tun() 967 sock = tun_open(tun, mode); in server_request_tun()
|
| D | PROTOCOL | 101 5. connection: Tunnel forward extension "tun@openssh.com" 103 OpenSSH supports layer 2 and layer 3 tunnelling via the "tun@openssh.com" 106 interfaces like the BSD tun(4) device. Tunnel forwarding channels are 110 string "tun@openssh.com"
|
| /mirbsd/src/usr.sbin/ppp/ppp/ |
| D | ip.c | 902 struct tun_data tun; in ip_Input() local 907 if (nb > sizeof tun.data) { in ip_Input() 909 l->name, nb, (int)(sizeof tun.data)); in ip_Input() 913 mbuf_Read(bp, tun.data, nb); in ip_Input() 916 if (PacketCheck(bundle, af, tun.data, nb, &bundle->filter.in, in ip_Input() 921 if (!FilterCheck(tun.data, af, &bundle->filter.alive, &alivesecs)) { in ip_Input() 928 tun.header.family = htonl(af); in ip_Input() 929 nb += sizeof tun - sizeof tun.data; in ip_Input() 930 data = (char *)&tun; in ip_Input() 932 data = tun.data; in ip_Input()
|
| D | bundle.c | 554 struct tun_data tun; in bundle_DescriptorRead() local 560 data = (u_char *)&tun; in bundle_DescriptorRead() 561 sz = sizeof tun; in bundle_DescriptorRead() 563 data = tun.data; in bundle_DescriptorRead() 564 sz = sizeof tun.data; in bundle_DescriptorRead() 576 n -= sz - sizeof tun.data; in bundle_DescriptorRead() 582 af = ntohl(tun.header.family); in bundle_DescriptorRead() 593 if (af == AF_INET && ((struct ip *)tun.data)->ip_dst.s_addr == in bundle_DescriptorRead() 597 pri = PacketCheck(bundle, af, tun.data, n, &bundle->filter.in, in bundle_DescriptorRead() 600 n += sz - sizeof tun.data; in bundle_DescriptorRead() [all …]
|
| D | Makefile | 13 timer.c tty.c tun.c udp.c vjcomp.c i4b.c atm.c
|
| D | README.changes | 95 o Ppp can use tun devices > tun255.
|
| D | ppp.8.m4 | 57 .Xr tun 4 . 87 .Pa /dev/tun Ns Ar N . 103 opens the tun interface, configures it, then goes into the background. 104 The link isn't brought up until outgoing data is detected on the tun 418 .Dl pseudo-device tun 427 .Xr tun 4 436 represents the number of the tun device, starting at zero. 438 This will create tun devices 0 through 1524 set log Phase Chat Connect hdlc LCP IPCP IPV6CP CCP tun 2353 .Xr tun 4 [all …]
|
| /mirbsd/src/etc/etc.sparc/ |
| D | MAKEDEV.md | 106 _DEV(tun, 111) 131 target(all, tun, 0, 1, 2, 3)dnl
|
| D | MAKEDEV | 248 tun*) 249 M tun$U c 111 $U 600
|
| /mirbsd/src/etc/etc.i386/ |
| D | MAKEDEV.md | 102 _DEV(tun, 40) 142 target(all, tun, 0, 1, 2, 3)dnl
|
| D | MAKEDEV | 335 tun*) 336 M tun$U c 40 $U 600
|
| /mirbsd/src/etc/ |
| D | MAKEDEV.common | 480 _mkdev(tun, {-tun*-}, {-M tun$U c major_tun_c $U 600-}, 600)dnl 485 __devitem(tun, tun*, Network tunnel driver)dnl
|
| /mirbsd/src/sys/arch/sparc/sparc/ |
| D | conf.c | 240 cdev_bpftun_init(NTUN,tun), /* 111: network tunnel */
|
| /mirbsd/src/sys/arch/i386/i386/ |
| D | conf.c | 297 cdev_bpftun_init(NTUN,tun), /* 40: network tunnel */
|
| /mirbsd/src/etc/ppp/ |
| D | ppp.conf.sample | 30 set log Phase Chat LCP IPCP CCP tun command 523 set log tun phase
|
| /mirbsd/src/sys/sys/ |
| D | conf.h | 586 cdev_decl(tun);
|
| /mirbsd/src/sys/conf/ |
| D | files | 372 pseudo-device tun: ifnet 668 file net/if_tun.c tun needs-count
|
| /mirbsd/src/sys/arch/sparc/conf/ |
| D | FLOPPY | 106 #pseudo-device tun # network tunneling over tty
|
| D | GENERIC | 114 pseudo-device tun # network tunneling over tty
|
| D | RAMDISK | 106 #pseudo-device tun # network tunneling over tty
|
| /mirbsd/src/sys/arch/i386/conf/ |
| D | RAMDISK | 106 #pseudo-device tun # network tunneling over tty
|
| D | GENERIC | 122 pseudo-device tun # network tunneling over tty
|
| /mirbsd/src/distrib/lists/base/base/ |
| D | mi | 2072 ./usr/share/man/cat4/tun.0
|