/freebsd-10-stable/sbin/nos-tun/ |
H A D | Makefile | 3 PROG= nos-tun 4 MAN= nos-tun.8
|
H A D | nos-tun.c | 30 * 'nos-tun' program configure tunN interface as a point-to-point 37 * 'nos-tun' can works with itself and CISCO-routers. 38 * (It may also work with Linux 'nos-tun's, but 43 * ( nos-tun sends and accepts packets only to/from this 88 int tun; /* tunnel descriptor */ variable 117 /* Open tun device */ 118 tun = open(dev_name, O_RDWR); 119 if (tun < 0) { 190 close(tun); 235 close(tun); [all...] |
/freebsd-10-stable/usr.sbin/pc-sysinstall/backend-query/ |
H A D | detect-nics.sh | 30 lo|fwe|fwip|plip|pfsync|pflog|tun)
|
/freebsd-10-stable/crypto/openssh/openbsd-compat/ |
H A D | port-tun.c | 44 * SSH_TUN_LINUX Use the (newer) Linux tun/tap device 45 * SSH_TUN_FREEBSD Use the FreeBSD tun/tap device 59 sys_tun_open(int tun, int mode) argument 65 if ((fd = open("/dev/net/tun", O_RDWR)) == -1) { 78 name = "tun%d"; 82 if (tun != SSH_TUNID_ANY) { 83 if (tun > SSH_TUNID_MAX) { 85 tun, strerror(errno)); 88 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), name, tun); 97 if (tun 119 sys_tun_open(int tun, int mode) argument [all...] |
H A D | Makefile.in | 23 PORTS=port-aix.o port-irix.o port-linux.o port-solaris.o port-tun.o port-uw.o
|
/freebsd-10-stable/etc/ppp/ |
H A D | ppp.conf | 12 set log Phase Chat LCP IPCP CCP tun command
|
/freebsd-10-stable/release/picobsd/bridge/ |
H A D | PICOBSD | 107 device tun # Packet tunnel.
|
/freebsd-10-stable/release/picobsd/qemu/ |
H A D | PICOBSD | 113 device tun # Packet tunnel.
|
/freebsd-10-stable/sys/dev/usb/input/ |
H A D | wsp.c | 840 struct wsp_tuning tun = wsp_tuning; local 852 wsp_runing_rangecheck(&tun); 938 if (sc->index[0]->touch_major > tun.pressure_tap_threshold && 943 if (sc->index[0]->touch_major > tun.pressure_tap_threshold-30 && 944 sc->index[1]->touch_major > tun.pressure_tap_threshold-30) 948 if (sc->index[0]->touch_major > tun.pressure_tap_threshold-40 && 949 sc->index[1]->touch_major > tun.pressure_tap_threshold-40 && 950 sc->index[2]->touch_major > tun.pressure_tap_threshold-40) 962 if (sc->index[0]->touch_major < tun.pressure_untouch_threshold && 997 if ((sc->dt_sum / tun [all...] |
/freebsd-10-stable/crypto/openssh/ |
H A D | misc.c | 253 int tun; local 264 tun = a2tun(sp, NULL); 266 return (*remote == SSH_TUNID_ERR ? *remote : tun); 272 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr); 276 return (tun); 712 tun_open(int tun, int mode) argument 715 return (sys_tun_open(tun, mode)); 720 const char *tunbase = "tun"; 726 if (tun <= SSH_TUNID_MAX) { 727 snprintf(name, sizeof(name), "/dev/%s%d", tunbase, tun); [all...] |
H A D | auth-options.c | 388 char *tun = NULL; local 390 tun = xmalloc(strlen(opts) + 1); 395 tun[i++] = *opts++; 402 free(tun); 406 tun[i] = '\0'; 407 forced_tun_device = a2tun(tun, NULL); 408 free(tun); 410 debug("%.100s, line %lu: invalid tun device", 412 auth_debug_add("%.100s, line %lu: invalid tun device", 417 auth_debug_add("Forced tun devic [all...] |
/freebsd-10-stable/sys/powerpc/conf/ |
H A D | MPC85XX | 87 device tun
|
H A D | WII | 77 device tun # Packet tunnel.
|
/freebsd-10-stable/sbin/ |
H A D | Makefile | 56 nos-tun \
|
/freebsd-10-stable/contrib/wpa/src/radius/ |
H A D | radius.c | 1339 struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun; local 1357 tun = &tunnel[0]; 1359 tun = &tunnel[data[0]]; 1365 tun->tag_used++; 1366 tun->type = WPA_GET_BE24(data + 1); 1371 tun->tag_used++; 1372 tun->medium_type = WPA_GET_BE24(data + 1); 1383 tun->tag_used++; 1384 tun->vlanid = atoi(buf); 1390 tun [all...] |
/freebsd-10-stable/usr.sbin/ppp/ |
H A D | ip.c | 79 #include "tun.h" 910 struct tun_data tun; local 915 if (nb > sizeof tun.data) { 917 l->name, nb, (int)(sizeof tun.data)); 921 mbuf_Read(bp, tun.data, nb); 924 if (PacketCheck(bundle, af, tun.data, nb, &bundle->filter.in, 929 if (!FilterCheck(tun.data, af, &bundle->filter.alive, &alivesecs)) { 936 tun.header.family = htonl(af); 937 nb += sizeof tun - sizeof tun [all...] |
H A D | Makefile | 12 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
|
/freebsd-10-stable/crypto/openssh/contrib/cygwin/ |
H A D | Makefile | 51 -$(INSTALL) -m 644 $(srcdir)/README.tun $(DESTDIR)$(sshdocdir)/README.tun
|
/freebsd-10-stable/tools/tools/nanobsd/pcengines/ |
H A D | ALIX_DSK | 70 device tun
|
H A D | ALIX_NFS | 68 device tun
|
/freebsd-10-stable/sys/pc98/conf/ |
H A D | GENERIC | 233 device tun # Packet tunnel.
|
/freebsd-10-stable/sys/arm/conf/ |
H A D | DOCKSTAR | 63 device tun # Packet tunnel.
|
/freebsd-10-stable/secure/lib/libssh/ |
H A D | Makefile | 33 glob.c openssl-compat.c port-tun.c reallocarray.c realpath.c strtonum.c \
|
/freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/ |
H A D | mad.c | 475 tun_ctx = dev->sriov.demux[port-1].tun[slave]; 1885 if (dev->sriov.demux[port - 1].tun[slave]) { 1886 kfree(dev->sriov.demux[port - 1].tun[slave]); 1887 dev->sriov.demux[port - 1].tun[slave] = NULL; 2050 dev->sriov.demux[port - 1].tun[slave], 1); 2056 dev->sriov.demux[port - 1].tun[slave]); 2084 ctx->tun = kcalloc(dev->dev->caps.sqp_demux, 2086 if (!ctx->tun) 2094 ret = alloc_pv_object(dev, i, port, &ctx->tun[i]); 2134 kfree(ctx->tun); [all...] |
/freebsd-10-stable/sys/ia64/conf/ |
H A D | GENERIC | 194 device tun # Packet tunnel.
|