Date: Sat, 22 Jan 2000 17:47:13 -0800 (PST) From: Brian Somers <brian@FreeBSD.org> To: cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: cvs commit: src/sys/net if_tun.c if_tun.h if_tunvar.h Message-ID: <200001230147.RAA10467@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200001230147.RAA10467>
