From owner-cvs-all Sat Jan 22 17:47:17 2000 Delivered-To: cvs-all@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 588D515068; Sat, 22 Jan 2000 17:47:14 -0800 (PST) (envelope-from brian@FreeBSD.org) Received: (from brian@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id RAA10467; Sat, 22 Jan 2000 17:47:14 -0800 (PST) (envelope-from brian@FreeBSD.org) Message-Id: <200001230147.RAA10467@freefall.freebsd.org> From: Brian Somers Date: Sat, 22 Jan 2000 17:47:13 -0800 (PST) To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_tun.c if_tun.h if_tunvar.h Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk brian 2000/01/22 17:47:13 PST Modified files: sys/net if_tun.c if_tun.h if_tunvar.h Log: Implement TUN[GS]IFHEAD ioctls. Passing a non-zero int to TUNSIFHEAD tells that tun unit to prepend a four byte address family to packets queued for tunread() and to expect a four byte address family at the front of data received by tunwrite(). We queue any protocol received from the interface for tunread(), but only accept INET, INET6, IPX and NETATALK from tunwrite(). There is support for Xerox's NS stuff, but AFAICT config(8) doesn't ever define NS. Revision Changes Path 1.70 +138 -40 src/sys/net/if_tun.c 1.17 +3 -1 src/sys/net/if_tun.h 1.7 +2 -1 src/sys/net/if_tunvar.h To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message