summaryrefslogtreecommitdiff
path: root/sys/net/if_pppoe.c
AgeCommit message (Expand)Author
2018-01-09Creating a cloned interface could return ENOMEM due to temporaryAlexander Bluhm
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-07-19Fix double free in pppoe_dispatch_disc_pkt(). If m_pulldown() fails m isClaudio Jeker
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-01-22move counting if_opackets next to counting if_obytes in if_enqueue.David Gwynne
2017-01-02spacingMartin Pieuchot
2017-01-02pppoe_timeout() needs to take the NET_LOCK().Martin Pieuchot
2016-06-14Don't hardcode vlan/queue priority for pppoe packets; inherit it from theStuart Henderson
2016-05-30Set pppoe(4) control frames to high (NC, "network control")Stuart Henderson
2016-04-18Remove the hack that prevents changing pppoe params at runtime.Mike Belopuhov
2016-04-13We're always ready! So send IFQ_SET_READY() to the bitbucket.Martin Pieuchot
2016-04-01Building kernels with PPPOE_SERVER enabled has been broken for at leastJonathan Gray
2015-12-05remove old lint annotationsTed Unangst
2015-11-28Convert pppoe(4) to use if_get()/if_put(): instead of storing aReyk Floeter
2015-11-20sppp(4) is now only used for pppoe(4) which doesn't use framing, so removeStuart Henderson
2015-10-25Introduce if_rtrequest() the successor of ifa_rtrequest().Martin Pieuchot
2015-09-13There's no point in abstracting ifp->if_output() as long as pf_test()Martin Pieuchot
2015-09-12Stop overwriting the rt_ifp pointer of RTF_LOCAL routes with lo0ifp.Martin Pieuchot
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-04-10replace the use of ifqueues for most input queues serviced by netisrDavid Gwynne
2015-03-14Remove some includes include-what-you-use claims don'tJonathan Gray
2014-12-05Explicitly include <net/if_var.h> instead of pulling it in <net/if.h>.Martin Pieuchot
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-08-13Correctly set the rtable ID of the packet header when sendingMartin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst
2014-06-07g/c unused IFT_L2VLAN, ok reyk bluhmHenning Brauer
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2013-04-10Remove various external variable declaration from sources files andMartin Pieuchot
2013-03-28no need for a lot of code to include proc.hTed Unangst
2012-04-11fix all the suser calls which pass an incorrect p_acflag argument;Mike Belopuhov
2012-01-19Teach pppoe(4) about RFC 4638. This allows negotiating increased MTU withStuart Henderson
2011-07-06cosnistently use IFQ_SET_MAXLEN, surfaced in a discussion with + ok bluhmHenning Brauer
2011-07-05ifqueues in BSS don't need NULL init, especially not absolutely incorrectHenning Brauer
2009-07-13Do the same rdomain checking in sppp as we do in the Ethernet case.Claudio Jeker
2009-03-15Introduce splsoftassert(), similar to splassert() but for soft interruptMiod Vallat
2008-10-16Make the session id unique per receiving interface so that pppoeCan Erkin Acar
2008-10-11Make sure no two pppoe devices share the same sc_unique identifier. WhileMiod Vallat
2008-10-01Don't timeout_del() if we're going to do a timeout_add() right away.Michael Knudsen
2008-08-28some style fixes.Brad Smith
2008-08-28Fix a typo in the naming of the PPPoE input queues, ppoe -> pppoe.Brad Smith
2008-08-27Fix length check when parsing PPPoE discovery phase packets.Brad Smith
2008-08-09turn an MFREE() into an m_free() and garbage collect anThordur I. Bjornsson
2008-06-26First pass at removing clauses 3 and 4 from NetBSD licenses.Ray Lai
2008-05-13Remove commented out NetBSD __KERNEL_RCSID macro usage.Brad Smith
2008-04-24the softnet intr handlers check if the input queue has packets onDavid Gwynne
2008-03-20Adapt maximum MTU permitted on pppoe(4) interfaces to the MTU of theBrad Smith
2008-03-18Don't use ph after the m_pulldown() calls because the mbuf chain could beClaudio Jeker
2008-03-18Don't use MBUFLOCK() for ifqueue protection use the correct splnet() danceClaudio Jeker