summaryrefslogtreecommitdiffstats
path: root/usr.sbin/ppp/tun.h
Commit message (Collapse)AuthorAgeFilesLines
* Add ``enable/disable tcpmssfixup'', defaulting to enabled.brian2000-11-281-1/+1
| | | | | Suggested by: julian Hijacked from: ru (ports/net/tcpmssd)
* Allow a ``timeout secs'' filter option to let specific packet typesbrian2000-07-111-1/+4
| | | | | | | | | | | | effect the idle timer in different ways. Submitted by: Stefan Esser <se@freebsd.org> With adjustments by me to document the option in the man page and to give the same semantics for outgoing traffic as incoming. I made the style more consistent in ip.c - this should really have been done as a separate commit.
* Handle the availability of TUNSIFHEAD. If it's there, use it.brian2000-01-231-11/+1
| | | | | For the moment this is just overhead, but it'll be used for INET6 support later.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* The protocol must be in network byte order (OpenBSD only).brian1998-08-261-3/+3
|
* ``struct tunnel_header'' -> u_int32_t in OpenBSD.brian1998-06-271-4/+4
| | | | | | struct tunnel_header is going soon. Suggested by: Theo
* MFMP: Make ppp multilink capable.brian1998-05-211-2/+4
| | | | See the file README.changes, and re-read the man page.
* Add (BSD) copyright headers.brian1997-12-211-2/+26
|
* Add id strings to tun.[ch].brian1997-11-171-0/+4
| | | | Don't try to open ppp.secret if we're never going to use it.
* Abstract data read from and written to the tun device,brian1997-11-161-0/+16
allowing for a possible header on the front of all packets. In OpenBSD, there's a structure containing the address family here. If we're building under OpenBSD, set up the ``flags'' part of struct tuninfo (not there under FreeBSD) so that we config the interface as POINTOPOINT. Prefix prototypes with ``extern'' in os.c for consistency. These changes are cosmetic under FreeBSD, but allow ppp to build & work under OpenBSD (bar the srandomdev() stuff, the inclusing of <net/if_var.h> and some Makefile symantecs).
OpenPOWER on IntegriCloud