summaryrefslogtreecommitdiff
path: root/sys/net/if_ppp.c
AgeCommit message (Expand)Author
2020-08-21Leave default ifq_maxlen handling to ifq_init()kn
2020-07-10Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.Patrick Wildt
2020-07-10Change users of IFQ_DEQUEUE(), IFQ_ENQUEUE() and IFQ_LEN() to use thePatrick Wildt
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2020-05-20Use `if_bpf' directly instead of the non-initialized duplicated copy of it.Martin Pieuchot
2018-11-09M_LEADINGSPACE() and M_TRAILINGSPACE() are just wrappers forClaudio Jeker
2018-02-19Remove almost unused `flags' argument of suser().Martin Pieuchot
2018-01-09Creating a cloned interface could return ENOMEM due to temporaryAlexander Bluhm
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
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