Searched refs:tun (Results 1 - 25 of 36) sorted by relevance

12

/freebsd-9.3-release/sbin/nos-tun/
H A DMakefile3 PROG= nos-tun
4 MAN= nos-tun.8
H A Dnos-tun.c30 * '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-9.3-release/usr.sbin/pc-sysinstall/backend-query/
H A Ddetect-nics.sh30 lo|fwe|fwip|plip|pfsync|pflog|tun)
/freebsd-9.3-release/crypto/openssh/openbsd-compat/
H A Dport-tun.c43 * SSH_TUN_LINUX Use the (newer) Linux tun/tap device
44 * SSH_TUN_FREEBSD Use the FreeBSD tun/tap device
58 sys_tun_open(int tun, int mode) argument
64 if ((fd = open("/dev/net/tun", O_RDWR)) == -1) {
77 name = "tun%d";
81 if (tun != SSH_TUNID_ANY) {
82 if (tun > SSH_TUNID_MAX) {
84 tun, strerror(errno));
87 snprintf(ifr.ifr_name, sizeof(ifr.ifr_name), name, tun);
96 if (tun
118 sys_tun_open(int tun, int mode) argument
[all...]
/freebsd-9.3-release/etc/ppp/
H A Dppp.conf12 set log Phase Chat LCP IPCP CCP tun command
/freebsd-9.3-release/sys/ia64/conf/
H A DSKI58 device tun # Packet tunnel.
H A DGENERIC182 device tun # Packet tunnel.
/freebsd-9.3-release/release/picobsd/bridge/
H A DPICOBSD107 device tun # Packet tunnel.
/freebsd-9.3-release/release/picobsd/qemu/
H A DPICOBSD113 device tun # Packet tunnel.
/freebsd-9.3-release/sys/dev/usb/input/
H A Dwsp.c669 struct wsp_tuning tun = wsp_tuning; local
681 wsp_runing_rangecheck(&tun);
759 if (f[0].touch_major > tun.pressure_tap_threshold)
763 if (f[0].touch_major > tun.pressure_tap_threshold &&
764 f[1].touch_major > tun.pressure_tap_threshold)
768 if (f[0].touch_major > tun.pressure_tap_threshold &&
769 f[1].touch_major > tun.pressure_tap_threshold &&
770 f[2].touch_major > tun.pressure_tap_threshold)
782 if (f[0].touch_major < tun.pressure_untouch_threshold &&
817 if ((sc->dt_sum / tun
[all...]
/freebsd-9.3-release/crypto/openssh/
H A Dmisc.c253 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);
649 tun_open(int tun, int mode) argument
652 return (sys_tun_open(tun, mode));
659 if (tun <= SSH_TUNID_MAX) {
660 snprintf(name, sizeof(name), "/dev/tun%d", tun);
[all...]
H A Dauth-options.c355 char *tun = NULL; local
357 tun = xmalloc(strlen(opts) + 1);
362 tun[i++] = *opts++;
369 free(tun);
373 tun[i] = '\0';
374 forced_tun_device = a2tun(tun, NULL);
375 free(tun);
377 debug("%.100s, line %lu: invalid tun device",
379 auth_debug_add("%.100s, line %lu: invalid tun device",
384 auth_debug_add("Forced tun devic
[all...]
/freebsd-9.3-release/sbin/
H A DMakefile60 nos-tun \
/freebsd-9.3-release/sys/i386/conf/
H A DXEN80 device tun # Packet tunnel.
/freebsd-9.3-release/sys/powerpc/conf/
H A DMPC85XX85 device tun
H A DGENERIC132 device tun # Packet tunnel.
H A DGENERIC64134 device tun # Packet tunnel.
/freebsd-9.3-release/contrib/wpa/src/radius/
H A Dradius.c1218 struct radius_tunnel_attrs tunnel[RADIUS_TUNNEL_TAGS], *tun; local
1234 tun = &tunnel[0];
1236 tun = &tunnel[data[0]];
1242 tun->tag_used++;
1243 tun->type = WPA_GET_BE24(data + 1);
1248 tun->tag_used++;
1249 tun->medium_type = WPA_GET_BE24(data + 1);
1260 tun->tag_used++;
1261 tun->vlanid = atoi(buf);
1267 tun
[all...]
/freebsd-9.3-release/usr.sbin/ppp/
H A Dip.c79 #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 DMakefile12 tcpmss.c throughput.c timer.c tty.c tun.c udp.c vjcomp.c
/freebsd-9.3-release/crypto/openssh/contrib/cygwin/
H A DMakefile51 -$(INSTALL) -m 644 $(srcdir)/README.tun $(DESTDIR)$(sshdocdir)/README.tun
/freebsd-9.3-release/sys/pc98/conf/
H A DGENERIC222 device tun # Packet tunnel.
/freebsd-9.3-release/tools/tools/nanobsd/pcengines/
H A DALIX_DSK68 device tun
H A DALIX_NFS68 device tun
/freebsd-9.3-release/secure/lib/libssh/
H A DMakefile28 glob.c openssl-compat.c port-tun.c strtonum.c timingsafe_bcmp.c \

Completed in 1239 milliseconds

12