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

/macosx-10.10/OpenSSH-189/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...]
/macosx-10.10/OpenSSH-189/openssh/
H A Dmisc.c248 int tun; local
259 tun = a2tun(sp, NULL);
261 return (*remote == SSH_TUNID_ERR ? *remote : tun);
267 tun = strtonum(s, 0, SSH_TUNID_MAX, &errstr);
271 return (tun);
645 tun_open(int tun, int mode) argument
648 return (sys_tun_open(tun, mode));
655 if (tun <= SSH_TUNID_MAX) {
656 snprintf(name, sizeof(name), "/dev/tun%d", tun);
[all...]
H A Dauth-options.c359 char *tun = NULL; local
361 tun = xmalloc(strlen(opts) + 1);
366 tun[i++] = *opts++;
373 xfree(tun);
377 tun[i] = '\0';
378 forced_tun_device = a2tun(tun, NULL);
379 xfree(tun);
381 debug("%.100s, line %lu: invalid tun device",
383 auth_debug_add("%.100s, line %lu: invalid tun device",
388 auth_debug_add("Forced tun devic
[all...]
H A Dserverloop.c987 int mode, tun; local
1005 tun = packet_get_int();
1007 if (tun != SSH_TUNID_ANY && forced_tun_device != tun)
1009 tun = forced_tun_device;
1011 sock = tun_open(tun, mode);
1014 c = channel_new("tun", SSH_CHANNEL_OPEN, sock, sock, -1,
1015 CHAN_TCP_WINDOW_DEFAULT, CHAN_TCP_PACKET_DEFAULT, 0, "tun", 1);
1080 } else if (strcmp(ctype, "tun@openssh.com") == 0) {
/macosx-10.10/mDNSResponder-561.1.1/mDNSMacOSX/
H A DmDNSMacOSX.c4172 const NATTraversalInfo *const tun = m->AutoTunnelNAT.clientContext ? &m->AutoTunnelNAT : mDNSNULL;
4246 if (tun)
4248 mDNSu32 port = mDNSVal16(tun->ExternalPort);
4259 mDNS_snprintf(buffer, sizeof(buffer), "%.4a", &tun->ExternalAddress);
4269 if (tun->Result)
4271 num = CFNumberCreate(NULL, kCFNumberSInt32Type, &tun->Result);
4281 if (tun || llq)
4320 else if (!llq && !tun)
4330 else if ((llq && llq->Result == mStatus_DoubleNAT) || (tun && tun
4763 AutoTunnelSetKeys(ClientTunnel *tun, mDNSBool AddNew) argument
4833 UnlinkAndReissueBlockedQuestions(mDNS *const m, ClientTunnel *tun, mDNSBool success) argument
4843 TunnelClientDeleteMatching(mDNS *const m, ClientTunnel *tun, mDNSBool v6Tunnel) argument
4924 TunnelClientDeleteAny(mDNS *const m, ClientTunnel *tun, mDNSBool v6Tunnel) argument
4967 ClientTunnel *tun = (ClientTunnel *)question->QuestionContext; local
5025 ClientTunnel *tun = (ClientTunnel *)question->QuestionContext; local
[all...]
/macosx-10.10/OpenSSH-189/openssh/contrib/cygwin/
H A DMakefile51 -$(INSTALL) -m 644 $(srcdir)/README.tun $(DESTDIR)$(sshdocdir)/README.tun
/macosx-10.10/emacs-93/emacs/lisp/calendar/
H A Dcal-mayan.el87 (tun (/ remainder 360))
91 (list baktun katun tun uinal kin))))
319 Long count is a list (baktun katun tun uinal kin)"
322 (* (nth 2 c) 360) ; tun
354 (read-string "Mayan long count (baktun.katun.tun.uinal.kin): "
/macosx-10.10/xnu-2782.1.97/bsd/netinet6/
H A Dipsec.c3420 int *tun)
3441 if (!tun)
3442 panic("tun == NULL in ipsec6_output_trans");
3448 *tun = 0;
3530 *tun = 1;
3414 ipsec6_output_trans( struct ipsec_output_state *state, u_char *nexthdrp, struct mbuf *mprev, struct secpolicy *sp, __unused int flags, int *tun) argument

Completed in 143 milliseconds