summaryrefslogtreecommitdiff
path: root/sys/net/if_sppp.h
AgeCommit message (Collapse)Author
2007-12-041500 is a 'magic number' in the protocol that all implementationsClaudio Jeker
must be able to handle as MRU but while testing pppoe(4) against a pppoe(8) server I figured out that pppoe(8) insists on a MRU 1492. Because of this we allow the offered MRU to be between PP_MIN_MRU and PP_MAX_MRU especially because the MRU is not used at all as long as it is smaller then PP_MAX_MRU. OK canacar@
2007-09-05IPv6 support for sppp layer, based on NetBSD version.Can Erkin Acar
ok claudio@
2007-04-17Add support for setting the address of the ppp peer.Marco Pfatschbacher
Use the proper in_ifscrub() / in_ifinit() calls for address changes to generate routing messages. The correct way to set the default route now needs the -ifp option, e.g. route add default -ifp pppoe0 0.0.0.1 Since the route is set right after bringing the interface up, it still works w/out -ifp though. Changes mostly from NetBSD. Tested by Matthias Bauer and bluhm@ OK canacar@
2006-02-24Another gem from the the-world-runs-on-i386 departement. Using u_long inClaudio Jeker
a packet format causes some troubles on 64bit archs. This fixes a sppp(4) panic I got on alpha and makes cisco HDLC mode actually work. More cleanup needs to be done post 3.9. OK brad@ looks good canacar@
2005-03-23Merge some sppp improvements from NetBSD:Can Erkin Acar
1. better timeout and keepalive handling 2. fix some memory leaks on error paths. 3. use arc4random instead of random 4. always send keepalives in cHDLC mode, from claudio@ Tested by Greg Mortensen (san) and jmc@ (pppoe), ok claudio@
2005-01-08Unslack and increase AUTHNAMELEN, since some ISP's prefer long usernames.Can Erkin Acar
Reported long time ago by Marc Huber and more recently by Steffen Schutz.
2004-11-28In kernel pppoe client, a simple IPv4 only implementation.Can Erkin Acar
Initial porting from NetBSD by David Berghoff. Modified/simplified to match our sppp implementation. ok deraadt@
2002-09-26BSD-style license from Serge Vakulenko <vak@cronyx.ru>Chris Cappuccio
2001-07-09More lame OpenBSD tags.Federico G. Schwindt
2001-06-09By popular demand, protect from multiple inclusion, and fix to use theAngelos D. Keromytis
same naming style.
2001-03-22new timeoutsMichael Shalayeff
2000-04-26SIOCSIFGENERIC is now in sys/sockio.hChris Cappuccio
1999-07-01lmc driver; ported by chris@dqc.orgTheo de Raadt