summaryrefslogtreecommitdiffstats
path: root/sys/net/if_tun.h
Commit message (Collapse)AuthorAgeFilesLines
* /* -> /*- for license, minor formatting changesimp2005-01-071-1/+1
|
* Implement TUN[GS]IFHEAD ioctls. Passing a non-zero int to TUNSIFHEADbrian2000-01-231-0/+2
| | | | | | | | | | | 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.
* Add a new TUNSIFPID ioctl to update the tun_pid (recorded inbrian2000-01-211-0/+1
| | | | tunopen) with the current pid.
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* Implement TUNSIFMODE and TUNSLMODE.des1999-03-241-1/+3
| | | | Submitted by: Alfred Perlstein <bright@cygnus.rush.net>
* Seventy-odd "its" / "it's" typos in comments fixed as per kern/6108.des1998-04-171-2/+2
|
* Correct $Id$brian1998-01-261-1/+1
|
* Move softc stuff into if_tunvar.hbrian1998-01-111-17/+1
| | | | | | | Suggested by: Peter Wemm <peter@netplex.com.au> Hinted at by: Bruce Evans <bde@FreeBSD.org>  
* Removed now-unused blocking mode flag.bde1997-11-181-1/+0
|
* As the Tunnel device has no real inherrent MRU limit,julian1997-06-111-1/+4
| | | | | | | | so don't enforce the MTU as an MRU. Allow bidirectional ppp MTU negotiation, by checking against a differnt figure for MRU. Make it large enough for ATM frames at least. Submitted by: archie@whistle.com (archie cobbs)
* Change default tun MTU back to 1500.fenner1996-12-161-2/+2
| | | | | | | Use the interface MTU instead of the constant when deciding what packets to accept. Allow using the SIOCSIFMTU ioctl (e.g. "ifconfig tun0 mtu XXX") to set the MTU.
* 2 small changes:julian1996-12-021-1/+1
| | | | | | | | | | | | | | 1/ increase the tun MTU from 1500 to 1600 to allow it to be used with packets formatted according to RFC1490 and RFC1717 2/ allow the tsleep() when reading, to be interruptable by signals so that one can now do: od -xc </dev/tun0 to dump packets for debugging without getting hung. Passed on by: Archie@whistle.com (archie Cobbs) Nice but not neccessary in 2.2
* Submitted by: archie@whistle.comjulian1996-08-091-1/+1
| | | | | | | allow a tunnel interface to be openned even if it has no remote address yet. this may be needed if you have used route add default -interface tun0 where the remote end might not even HAVE a number (e.g. netcom links)
* Make user-level PPP on-demand with dynamic IP actually work.ache1996-03-081-1/+1
| | | | | | | | | | | | | | | Story so fr: 1) PPP on-demand with static IP works. 2) PPP on-demand with dynamic IP says "Host is down" on any IP request The problem is that tun driver check its READY state by *first* ifconfig address. i.e.: set ifaddr <addr> <addr2> works (static IP) and set ifaddr 0 <addr2> not works (dynamic IP) because first address is equal 0. Since tun is always POINTOPOINT interface, dst address is more meaningfull. I change checking to second (dst) address in READY test. PPP on-demand finally works.
* Clean up Ethernet drivers:wollman1996-02-061-3/+0
| | | | | | | | - fill in and use ifp->if_softc - use if_bpf rather than private cookie variables - change bpf interface to take advantage of this - call ether_ifattach() directly from Ethernet drivers - delete kludge in if_attach() that did this indirectly
* Remove trailing whitespace.rgrimes1995-05-301-1/+1
|
* New user Process PPP based on iij-ppp0.94beta2.amurai1995-02-261-27/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | o Supporting SYNC SIO device (But need a device driver) - add "set speed sync" o Fixing bug for Predictor-1 function. o Add new parameter that re-sent interval for set timeout commands. o Improving RTT (Round Trip Time) and reducing processor time. - Previous Timer service was using polling, and now using SIGALRM ;-) - A 0.94beta2 will not work correctly.... -- Follows are additinal feature not including 0.94beta2 o Support Proxy ARP - add "enable/disable proxy" commands o Marging common routine in CHAP/PAP. o Enhancing LCP/IPCP log information. o Support local Authfication connection on port 300x and tty. - You can set up pair of your "hostname -s" and password in ppp.secret. if either ppp.secret file nor your hostname line don't exist, It will notify a message and working as same as previous version.(Backword compatibility) - If you did set up them, It's allow connection but nothing to do except help and passwd command. - add "passwd yourpasswd" commands o Support afilter - keep Alive filter that a packet can send/receiving according to ifilter/ofilter but doesn't count it as preventing idle timer expires. - Same syntax of other filters. o Fixing bugs reported by current user for previous one. Thanks !! Reviewed by: Atsushi Murai (amurai@spec.co.jp)
* (no commit message)amurai1995-01-311-0/+72
OpenPOWER on IntegriCloud