| /freebsd-10-stable/crypto/openssh/openbsd-compat/ |
| D | port-tun.c | 59 sys_tun_open(int tun, int mode) in sys_tun_open() argument 82 if (tun != SSH_TUNID_ANY) { in sys_tun_open() 83 if (tun > SSH_TUNID_MAX) { in sys_tun_open() 85 tun, strerror(errno)); in sys_tun_open() 88 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), name, tun); in sys_tun_open() 97 if (tun == SSH_TUNID_ANY) in sys_tun_open() 119 sys_tun_open(int tun, int mode) in sys_tun_open() argument 136 if (tun <= SSH_TUNID_MAX) { in sys_tun_open() 137 snprintf(name, sizeof(name), "/dev/%s%d", tunbase, tun); in sys_tun_open() 139 } else if (tun == SSH_TUNID_ANY) { in sys_tun_open() [all …]
|
| 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/sbin/nos-tun/ |
| D | nos-tun.c | 88 int tun; /* tunnel descriptor */ variable 118 tun = open(dev_name, O_RDWR); in tun_open() 119 if (tun < 0) { in tun_open() 190 close(tun); in tun_open() 235 close(tun); in Finish() 345 if (tun > net) in main() 346 lastfd = tun; in main() 353 FD_SET(tun,&rfds); FD_SET(net,&rfds); in main() 376 write(tun,buf+ipoff,len-ipoff); in main() 380 if(FD_ISSET(tun,&rfds)) { in main() [all …]
|
| D | Makefile | 3 PROG= nos-tun 4 MAN= nos-tun.8
|
| /freebsd-10-stable/crypto/openssh/ |
| D | misc.c | 253 int tun; in a2tun() local 264 tun = a2tun(sp, NULL); in a2tun() 266 return (*remote == SSH_TUNID_ERR ? *remote : tun); in a2tun() 272 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr); in a2tun() 276 return (tun); in a2tun() 712 tun_open(int tun, int mode) in tun_open() argument 715 return (sys_tun_open(tun, mode)); in tun_open() 726 if (tun <= SSH_TUNID_MAX) { in tun_open() 727 snprintf(name, sizeof(name), "/dev/%s%d", tunbase, tun); in tun_open() 729 } else if (tun == SSH_TUNID_ANY) { in tun_open() [all …]
|
| D | auth-options.c | 388 char *tun = NULL; in auth_parse_options() local 390 tun = xmalloc(strlen(opts) + 1); in auth_parse_options() 395 tun[i++] = *opts++; in auth_parse_options() 402 free(tun); in auth_parse_options() 406 tun[i] = '\0'; in auth_parse_options() 407 forced_tun_device = a2tun(tun, NULL); in auth_parse_options() 408 free(tun); in auth_parse_options()
|
| D | README.tun | 4 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 $
|
| D | serverloop.c | 1021 int mode, tun; in server_request_tun() local 1039 tun = packet_get_int(); in server_request_tun() 1041 if (tun != SSH_TUNID_ANY && forced_tun_device != tun) in server_request_tun() 1043 tun = forced_tun_device; in server_request_tun() 1045 sock = tun_open(tun, mode); in server_request_tun()
|
| /freebsd-10-stable/sys/dev/usb/input/ |
| D | wsp.c | 840 struct wsp_tuning tun = wsp_tuning; in wsp_intr_callback() local 852 wsp_runing_rangecheck(&tun); in wsp_intr_callback() 938 if (sc->index[0]->touch_major > tun.pressure_tap_threshold && in wsp_intr_callback() 943 if (sc->index[0]->touch_major > tun.pressure_tap_threshold-30 && in wsp_intr_callback() 944 sc->index[1]->touch_major > tun.pressure_tap_threshold-30) in wsp_intr_callback() 948 if (sc->index[0]->touch_major > tun.pressure_tap_threshold-40 && in wsp_intr_callback() 949 sc->index[1]->touch_major > tun.pressure_tap_threshold-40 && in wsp_intr_callback() 950 sc->index[2]->touch_major > tun.pressure_tap_threshold-40) in wsp_intr_callback() 962 if (sc->index[0]->touch_major < tun.pressure_untouch_threshold && in wsp_intr_callback() 997 if ((sc->dt_sum / tun.scr_hor_threshold) != 0 && in wsp_intr_callback() [all …]
|
| /freebsd-10-stable/cddl/contrib/dtracetoolkit/Examples/ |
| D | putnexts_example.txt | 208 tun 209 tun`tun_rdata_v4+0x58c 210 tun`tun_rproc+0x256 211 tun`tun_rput+0x23 215 tun 216 tun`tun_wputnext_v4+0x1f8 217 tun`tun_wproc_mdata+0x71 218 tun`tun_wproc+0xdf 219 tun`tun_wput+0x23
|
| /freebsd-10-stable/usr.sbin/ppp/ |
| D | ip.c | 910 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()
|
| D | bundle.c | 552 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 …]
|
| D | Makefile | 12 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
|
| /freebsd-10-stable/contrib/wpa/src/radius/ |
| D | radius.c | 1339 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 …]
|
| /freebsd-10-stable/usr.sbin/pc-sysinstall/backend-query/ |
| D | detect-nics.sh | 30 lo|fwe|fwip|plip|pfsync|pflog|tun)
|
| /freebsd-10-stable/crypto/openssh/contrib/cygwin/ |
| D | Makefile | 51 -$(INSTALL) -m 644 $(srcdir)/README.tun $(DESTDIR)$(sshdocdir)/README.tun
|
| /freebsd-10-stable/etc/ppp/ |
| D | ppp.conf | 12 set log Phase Chat LCP IPCP CCP tun command
|
| /freebsd-10-stable/sys/ofed/drivers/infiniband/hw/mlx4/ |
| D | mad.c | 475 tun_ctx = dev->sriov.demux[port-1].tun[slave]; in mlx4_ib_send_to_slave() 1885 if (dev->sriov.demux[port - 1].tun[slave]) { in free_pv_object() 1886 kfree(dev->sriov.demux[port - 1].tun[slave]); in free_pv_object() 1887 dev->sriov.demux[port - 1].tun[slave] = NULL; in free_pv_object() 2050 dev->sriov.demux[port - 1].tun[slave], 1); in mlx4_ib_tunnels_update() 2056 dev->sriov.demux[port - 1].tun[slave]); in mlx4_ib_tunnels_update() 2084 ctx->tun = kcalloc(dev->dev->caps.sqp_demux, in mlx4_ib_alloc_demux_ctx() 2086 if (!ctx->tun) in mlx4_ib_alloc_demux_ctx() 2094 ret = alloc_pv_object(dev, i, port, &ctx->tun[i]); in mlx4_ib_alloc_demux_ctx() 2134 kfree(ctx->tun); in mlx4_ib_alloc_demux_ctx() [all …]
|
| D | cq.c | 592 wc->pkey_index = be16_to_cpu(hdr->tun.pkey_index); in use_tunnel_data() 593 wc->slid = be16_to_cpu(hdr->tun.slid_mac_47_32); in use_tunnel_data() 594 wc->sl = (u8) (be16_to_cpu(hdr->tun.sl_vid) >> 12); in use_tunnel_data() 595 wc->src_qp = be32_to_cpu(hdr->tun.flags_src_qp) & 0xFFFFFF; in use_tunnel_data() 596 wc->wc_flags |= (hdr->tun.g_ml_path & 0x80) ? (IB_WC_GRH) : 0; in use_tunnel_data()
|
| /freebsd-10-stable/sbin/ |
| D | Makefile | 56 nos-tun \
|
| /freebsd-10-stable/sys/powerpc/conf/ |
| D | MPC85XX | 87 device tun
|
| /freebsd-10-stable/sys/mips/conf/ |
| D | GXEMUL | 55 device tun # Packet tunnel.
|
| D | GXEMUL32 | 53 device tun # Packet tunnel.
|
| /freebsd-10-stable/tools/tools/nanobsd/pcengines/ |
| D | ALIX_DSK | 70 device tun
|
| D | ALIX_NFS | 68 device tun
|