summaryrefslogtreecommitdiffstats
path: root/usr.sbin/pppd/sys-bsd.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove if_ppp(4) and if_sl(4).ed2009-04-051-1697/+0
| | | | | | | | | | | | | Not only did these two drivers depend on IFF_NEEDSGIANT, they were broken 7 months ago during the MPSAFE TTY import. if_ppp(4) has been replaced by ppp(8). There is no replacement for if_sl(4). If we see regressions in for example the ports tree, we should just use __FreeBSD_version 800045 to check whether if_ppp(4) and if_sl(4) are present. Version 800045 is used to denote the import of MPSAFE TTY. Discussed with: rwatson, but also rwatson's IFF_NEEDSGIANT emails on the lists.
* Cleanup of userland __P usekevlo2007-11-071-2/+2
|
* Teach an IPV6CP to pppd(8).ume2006-11-121-1/+129
| | | | | | | | | | | The eui64.[ch] and ipv6cp.[ch] were taken from ppp-2.3.11. However, our stock pppd(8) doesn't provide option_t nor some utility functions. So, I made some hacks to adjust to our stock pppd(8). The sys_bsd.c part was taken from NetBSD with some modifications to adjust to our stock pppd(8). MFC after: 1 week
* o SIOCGIFCONF->getifaddrs(2) conversion.maxim2004-04-091-76/+51
| | | | | PR: bin/9379 Obtained from: NetBSD
* Test for the existance of kernel ppp support by seeing if the kernel hasbrooks2002-11-051-12/+14
| | | | | | the module compiled in or loaded instead of bogusly checking for ppp0. Also if and only if the caller is actually root and the kernel does not have ppp support, try to load the ppp module before giving up.
* Check for FD_SET overruns.nectar2002-09-171-0/+8
| | | | Approved by: peter
* $Id$ -> $FreeBSD$peter1999-08-281-1/+1
|
* When incrementing through a SIOCGIFCONF list, enforce a lower limit ofarchie1999-06-051-6/+9
| | | | | | | | | sizeof(ifr->ifr_addr) for the variable length field ifr->ifr_addr.sa_len. Otherwise the increment will be wrong in certain cases. Obtained from: Whistle source tree For the record: Garrett Wollman <wollman@khavrinen.lcs.mit.edu> suggests SIOCGIFCONF should be dropped in favor of a sysctl mechanism.
* remove old hack that's no longer needed and now breaks the compilepeter1998-06-211-5/+2
|
* Merge ppp 2.3.3 -> 2.3.5 changes onto mainline.peter1998-06-201-1/+13
|
* Merge ppp-2.3.3 changes onto mainlinepeter1998-03-221-1/+18
|
* Removed most unused includes of <net/if_var.h> outside the kernel.bde1998-01-161-2/+1
|
* *gulp* First pass at merging in ppp-2.3.0's pppd. (this haspeter1997-08-191-149/+568
| | | | | | | | | | | | | | | dial-on-demand, packet filtering, idle timeouts, etc). The IPX support is pretty much there but more work needs to be done in sys-bsd.c for the interface ioctls (Linux has a very different way of configuring IPX interfaces). Along the way some things have temporarily been lost due to very messy conflicts. I will recover them shortly when I can think clearer. The main one is the local:remote address override in pap-secrets and chap-secrets. Some other home-grown features (dns1,dns2) have been implemented differently. Microsoft's chap client auth hacks have been implemented. There are bound to be more rough edges... The changes for connect-max-retries doesn't fit well with the dial-on-demand code.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Update to match changes in <net/if.h>.wollman1997-01-031-1/+2
|
* Add RTF_STATIC to flags when creating a default route. Hopefully thispeter1996-08-131-2/+2
| | | | will stop routed from removing it if it is also running.
* Use libmd.phk1996-03-011-1/+2
| | | | | Add support for negotiating (more like "informing peer") about DNS. Various cleanup of warnings.
* Bring pppd from ppp-2.2 onto the mainline..peter1995-10-311-70/+458
| | | | (more work needs to be done here, I'm trying to beat the supscan)
* Finally applied the fix from PR # 701 for the broken prxyarp option ofjoerg1995-10-031-6/+10
| | | | | | | pppd(8). Reviewed by: several people on -hackers, and me Submitted by: Stephen McKay <syssgm@devetir.qld.gov.au>
* Remove trailing whitespace.rgrimes1995-05-301-2/+2
|
* Initial revisionwollman1994-09-251-0/+743
OpenPOWER on IntegriCloud