summaryrefslogtreecommitdiff
path: root/sys/net/if_pppx.c
AgeCommit message (Expand)Author
2021-02-25we don't have to cast to caddr_t when calling m_copydata anymore.David Gwynne
2021-02-10Remove `sc_dead' logic from pppac(4). It is used to preventmvs
2021-02-01Netlock should be grabbed before pppx_if_find() call in pppxwrite().mvs
2021-02-01Remove dummy TUNSIFMODE ioctl(2) call from pppac(4) and npppd(8). Sincemvs
2020-12-25Refactor klist insertion and removalVisa Hankala
2020-09-20Set `if_snd' queue maximum length to 1. This enforces calls ofmvs
2020-08-30Don't include "net/netisr.h" header. It's not needed here.mvs
2020-08-30pppac(4) uses per cpu counters for collect `ifnet' statistics, but inmvs
2020-08-27Make pipex(4) more common for pppac(4) and pppx(4). ReplaceYASUOKA Masahiko
2020-08-14Set `IFXF_MPSAFE' bit to pppx(4) related `ifnet'. This moves pppx(4)mvs
2020-08-12Remove interface statistics update for outgoing packets. We shouldn'tmvs
2020-08-10Set `IFXF_MPSAFE' bit to pppac(4) related `ifnet'. This moves pppac(4)mvs
2020-07-28Document locks which protect ppp{ac,x}(4) global data structures.mvs
2020-07-17Use interface index instead of pointer to corresponding interfacemvs
2020-07-15Fix races in pppacopen() caused by malloc(9).mvs
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-07-10Kill `pppx_devs_lk' rwlock. It used only to prevent races caused bymvs
2020-07-10Set missing `IFXF_CLONED' flag to pppx(4) related `ifnet'. That shouldmvs
2020-07-06Protect the whole pipex(4) layer by NET_LOCK(). pipex(4) wasmvs
2020-06-24Fix `IFF_RUNNING' bit handling for pppx(4) and pppac(4).mvs
2020-06-22Rework checks for `pppx_ifs' tree modification.mvs
2020-06-18Combine and replace duplicated code in pipex(4) and pppx(4) by new functionsmvs
2020-05-29Mark the descriptor as dead when starting to destroy it.Martin Pieuchot
2020-05-26Use C99 initializers in 'struct filterops' definitions.Martin Pieuchot
2020-05-26Kill unecessary `pppx_ifs_lk' lock.Martin Pieuchot
2020-04-18Use MHLEN for the space size of mbuf header. This fixes the panicYASUOKA Masahiko
2020-04-10Place the 64bit key on the stack instead of malloc(9)in' it in pppx_if_find().Martin Pieuchot
2020-04-07Abstract the head of knote lists. This allows extending the lists,Visa Hankala
2020-04-07Deny to create a pipex session if the session id already exists.Claudio Jeker
2020-04-07Remove superfluous NULL check from allocation with PR_WAITOK.Martin Pieuchot
2020-04-06Pass struct pipex_iface_context pointer down to pipex ioctl functions.Claudio Jeker
2020-04-01Disallow session timeout on pppx(4).Martin Pieuchot
2020-03-26Unify #ifdef guarding code to remove PPTP and L2TP sessions.Martin Pieuchot
2020-02-20Replace field f_isfd with field f_flags in struct filterops to allowVisa Hankala
2020-02-18pppx(4): rwsleep(9) -> rwsleep_nsec(9); ok claudio@cheloha
2020-01-28Simplify filterops routines where klist_invalidate() is used.Visa Hankala
2020-01-24add pf.h include for NPF > 0 use added in rev 1.71Jonathan Gray
2020-01-23fix some ioctl/kq weirdness in the pppx(4) side of things.David Gwynne
2020-01-22add pppac(4) code for a dedicated PPP Access Concentrator interface.David Gwynne
2019-12-31Use C99 designated initializers with struct filterops. In addition,Visa Hankala
2019-11-08convert interface address change hooks to tasks and a task_list.David Gwynne
2019-06-24free(9) sizes.Martin Pieuchot
2019-03-04allow IPv6 to flow through pppx(4)denis
2018-07-11Disambiguate the source of panics in sys/net* by adding __func__Nayden Markatchev
2018-06-15Fix the lock order problem found by witness. Release the lock forYASUOKA Masahiko
2018-03-29NET_LOCK is also required in pppxwrite and pppxclose.Jonathan Matthew
2017-08-12Use the NET_LOCK() macro instead of handrolling it.Martin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-05-30Introduce ipv{4,6}_input(), two wrappers around IP queues.Martin Pieuchot