summaryrefslogtreecommitdiff
path: root/sys/net/if_pppoe.c
AgeCommit message (Expand)Author
2022-07-14Turn pppoe(4) back to kernel lock. We can't predict netlock state withinVitaliy Makkoveev
2022-07-09Fix the error path of the 'SIOCSIFMTU' pppoe_ioctl() case. Return errorVitaliy Makkoveev
2022-06-29ether_input() called with shared netlock, but pppoe(4) wants it to beVitaliy Makkoveev
2022-05-14When receiving a PADO offer, clear stored tags from previous PADO packets.Tobias Heider
2021-11-23Use system uptime not UTC time to calculate PPPoE session durationKlemens Nanni
2021-07-19Fix an alignment fault observed on an octeon machine while pppoe(4) wasStefan Sperling
2021-01-19pppoe(4): convert ifunit() to if_unit(9)mvs
2021-01-04Process pppoe(4) packets directly, do not queue through netiskn
2020-12-30Fix pppoe_dispatch_disc_pkt definition to be in accordance with style(9)mvs
2020-12-30Convert the `off' argument of pppoe_dispatch_disc_pkt function tomvs
2020-09-13Start documenting locks for struct pppoe_softc memberskn
2020-08-21Leave default ifq_maxlen handling to ifq_init()kn
2020-08-21Add sizes to free(9) callskn
2020-07-28Add missing `IFXF_CLONED' flag to clone interfaces.mvs
2020-07-10Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.Patrick Wildt
2019-06-16Use timeout_add_sec(9)kn
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-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