summaryrefslogtreecommitdiffstats
path: root/sys/net/ppp_tty.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* de-register. deraadt okitojun2003-12-101-22/+22
|
* Replace select backends with poll backends. selscan() and pollscan()millert2003-09-231-2/+2
| | | | | | | now call the poll backend. With this change we implement greater poll(2) functionality instead of emulating it via the select backend. Adapted from NetBSD and including some changes from FreeBSD. Tested by many, deraadt@ OK
* comment spelling, from jonathon graytedu2003-09-181-2/+2
|
* change arguments to suser. suser now takes the process, and a flagstedu2003-08-151-5/+5
| | | | | | | | | argument. old cred only calls user suser_ucred. this will allow future work to more flexibly implement the idea of a root process. looks like something i saw in freebsd, but a little different. use of suser_ucred vs suser in file system code should be looked at again, for the moment semantics remain unchanged. review and input from art@ testing and further review miod@
* use MGETHDR instead of MGET for the first mbuf.kjc2003-03-091-2/+7
| | | | | | | | | | | altq expects struct pkthdr in a mbuf chain. this fixes a panic caused by uninitialized m_pkthdr.tags when altq is enabled on ppp. also, initialize m_pkthdr.len and m_pkthdr.rcvif as a caller of MGETHDR is supposed to do. report and test by matthieu@ ok deraadt@, henning@, dhartmei@
* license update of CMU parts. due to communication with wcw+@andrew.cmu.edu,deraadt2002-07-011-20/+36
| | | | | | pushed for by tygs@netcologne.de. Apparently we also now known how to talk to the lawyers there, if we were so mad. Note that a few other copyright issues in pppd still remain, so this does not close this story.
* First round of __P removal in sysmillert2002-03-141-18/+18
|
* sync with KAME.kjc2002-02-131-1/+10
| | | | | | | make altq actually work with kernl ppp. add if_start for the altq case to kick transmission. don't call ppp_restart() to prevent useless interrupt loop under rate-limiting.
* change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.itojun2001-06-151-2/+1
| | | | | | | | follows BSD/OS practice and ucd-snmp code (FreeBSD does it for specific interfaces only). was: if_lastchange get updated on every packet transmission/receipt. now: if_lastchange get updated when IFF_UP is changed.
* No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)ho2001-05-161-5/+2
|
* Remove two unnecessary splx(). This was missed somewhere along the way, sinceaaron2001-03-091-4/+2
| | | | this was done long ago in NetBSD during an update to ppp-2.3b4.
* Convert to use new timeout API.art2000-06-301-3/+4
|
* fix unsigned without a size-typederaadt1999-07-041-2/+2
|
* Minor changes from ppp 2.3.1millert1997-09-051-204/+205
|
* prevent warning:kstailey1997-01-151-2/+2
| | | | ppp_tty.c:790: warning: `s' might be used uninitialized in this function
* Kernel changes for ppp2.3a4.joshd1996-07-251-175/+198
|
* if_name/if_unit -> if_xname/if_softcderaadt1996-05-101-14/+14
|
* partial sync with netbsd 960418, more to comederaadt1996-04-211-11/+31
|
* From NetBSD: 960217 mergeniklas1996-03-031-13/+14
|
* initial import of NetBSD treederaadt1995-10-181-0/+1025