summaryrefslogtreecommitdiff
path: root/sys/net/if_ppp.c
AgeCommit message (Expand)Author
2017-05-30Introduce ipv{4,6}_input(), two wrappers around IP queues.Martin Pieuchot
2017-05-27Protect the global list of softc with the NET_LOCK().Martin Pieuchot
2017-05-16Replace remaining splsoftassert(IPL_SOFTNET) by NET_ASSERT_LOCKED().Martin Pieuchot
2017-03-08No need to clear IFF_UP after calling if_down().Martin Pieuchot
2017-03-03Remove non longer needed splsoftnet()/splx() dances.Martin Pieuchot
2017-01-01Grab the NET_LOCK() in pppdealloc(), prevent an assert reported by stsp@.Martin Pieuchot
2016-11-16Kill outdated comment talking about sofnet.Martin Pieuchot
2016-10-06Remove redundant comments that say a function must be called atAlexander Bluhm
2016-06-22No modules thus no need for extra space for additional ppp compressions.Jeremie Courreges-Anglas
2016-05-23remove the function pointer from mbufs. this memory is shared with dataTed Unangst
2016-04-13We're always ready! So send IFQ_SET_READY() to the bitbucket.Martin Pieuchot
2015-11-20correctly indent a line to make the intent clearJonathan Gray
2015-11-11use time_uptime instead of time_second.David Gwynne
2015-11-06replace sc_npqueue and sc_npqtail with a simple mbuf_list.David Gwynne
2015-11-05apply some knf.David Gwynne
2015-11-04use mq_purge to free a queue of mbufs.David Gwynne
2015-11-02get rid of the "fastq", which is where this driver puts ip packetsDavid Gwynne
2015-10-25Introduce if_rtrequest() the successor of ifa_rtrequest().Martin Pieuchot
2015-10-12the pattr argument to IFQ_ENQUEUE is unused, so let's get rid of it.David Gwynne
2015-10-05Revert if_oqdrops accounting changes done in kernel, per request from mpi@.Masao Uebayashi
2015-10-05Count IFQ_ENQUEUE() failure as output drop.Masao Uebayashi
2015-07-15m_freem() can handle NULL, do not check for this condition beforehands.Theo de Raadt
2015-07-08MFREE(9) is dead, long live m_freem(9)!Martin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-03there's been a long standing issue in ppp on a tty/serial line where it alloc...David Gwynne
2015-05-13test mbuf pointers against NULL not 0Jonathan Gray
2015-04-10replace the use of ifqueues for most input queues serviced by netisrDavid Gwynne
2015-03-18remove the congestion handling from struct ifqueue.David Gwynne
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-12-13yet more mallocarray() changes.Doug Hogan
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-11-20Yet more #include de-duplication.Kenneth R Westerback
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-05-05Use a custom ifa_rtrequest function for point-to-point interfacesMartin Pieuchot
2014-04-19remove altq special casing.Henning Brauer
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2013-10-23Remove the number of in_var.h inclusions by moving some functions andMartin Pieuchot
2013-10-19Uniformize drivers doing nothing with their multicast filters to makeMartin Pieuchot
2013-03-28do not include machine/cpu.h from a .c file; it is the responsibility ofTheo de Raadt
2013-03-26Remove various read-only *maxlen variables and use IFQ_MAXLEN directly.Martin Pieuchot
2012-11-29Delete needless check for NULL. From Michael W. Bombardieri.YASUOKA Masahiko
2012-11-26do not steal mbuf types (leads to a panic if M_ZEROIZE gets set onMarkus Friedl
2012-03-28More p_pid to p_p->ps_pid updates. OK deraadt@, guenther@Claudio Jeker
2012-01-20Ansify ppp... function definitions.Alexander Bluhm
2011-07-07use IF_LEN/IFQ_LEN to access and ifqueue's length field. ryan okHenning Brauer
2011-07-06ppp_ifstart unconditionally. depending on ALTQ for this is ridiculous.Henning Brauer
2011-07-06cosnistently use IFQ_SET_MAXLEN, surfaced in a discussion with + ok bluhmHenning Brauer
2011-07-05use IFQ_IS_EMPTY instead of fiddling with ifqueue internals - 3 casesHenning Brauer
2011-07-04use mtod.David Hill