summaryrefslogtreecommitdiff
path: root/sys/net/ppp_tty.c
AgeCommit message (Collapse)Author
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
ok mikeb@, krw@, bluhm@, tedu@
2014-09-15Remove non-standard <sys/dkstat.h> header. It has not contained anythingMiod Vallat
related to disk stastics for almost 17 years, and the remaining userland-visible defines duplicate those found in <sys/sched.h>. Move the remaining _KERNEL defines to <sys/tty.h> where they belong, and update all users to cope with this. ok kettenis@
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-04-19remove very questionable altq "optimization" - claudio and I can'tHenning Brauer
convince ourselves that that was right to begin with. anyway, begone.
2013-03-28code that calls timeout functions should include timeout.hTed Unangst
slipped by on i386, but the zaurus doesn't automagically pick it up. spotted by patrick
2012-03-28More p_pid to p_p->ps_pid updates. OK deraadt@, guenther@Claudio Jeker
2012-01-11ansify and de'register some prototypesDavid Hill
ok miod@
2011-07-06use IF_IS_EMPTY istead of mucking if ifqueue internalsHenning Brauer
2011-07-05Revert henning's commit-n-run that broke the treePhilip Guenthe
2011-07-05IFQ_IS_EMPTY instead of fiddling with ifqueue internalsHenning Brauer
isn't it awesome that 5 out of 6 cases of this crap were in the various ppp implementations? ok claudio ryan the 6th to be fixed when we return from MEC
2003-12-10de-register. deraadt okJun-ichiro itojun Hagino
2003-09-23Replace select backends with poll backends. selscan() and pollscan()Todd C. Miller
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
2003-09-18comment spelling, from jonathon grayTed Unangst
2003-08-15change arguments to suser. suser now takes the process, and a flagsTed Unangst
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@
2003-03-09use MGETHDR instead of MGET for the first mbuf.Kenjiro Cho
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@
2002-07-01license update of CMU parts. due to communication with wcw+@andrew.cmu.edu,Theo de Raadt
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.
2002-03-14First round of __P removal in sysTodd C. Miller
2002-02-13sync with KAME.Kenjiro Cho
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.
2001-06-15change the meaning of ifnet.if_lastchange to meet RFC1573 ifLastChange.Jun-ichiro itojun Hagino
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.
2001-05-16No need to check M_WAIT/M_WAITOK malloc return values. (art@ ok)Hakan Olsson
2001-03-09Remove two unnecessary splx(). This was missed somewhere along the way, sinceAaron Campbell
this was done long ago in NetBSD during an update to ppp-2.3b4.
2000-06-30Convert to use new timeout API.Artur Grabowski
1999-07-04fix unsigned without a size-typeTheo de Raadt
1997-09-05Minor changes from ppp 2.3.1Todd C. Miller
1997-01-15prevent warning:kstailey
ppp_tty.c:790: warning: `s' might be used uninitialized in this function
1996-07-25Kernel changes for ppp2.3a4.joshd
1996-05-10if_name/if_unit -> if_xname/if_softcTheo de Raadt
1996-04-21partial sync with netbsd 960418, more to comeTheo de Raadt
1996-03-03From NetBSD: 960217 mergeNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt