summaryrefslogtreecommitdiff
path: root/sys/net/if_pppx.c
AgeCommit message (Expand)Author
2022-07-02Remove unused device poll functions.Visa Hankala
2022-06-26Mark `pipex_enable' as atomic. We never check `pipex_enable' withinVitaliy Makkoveev
2022-06-26The "ifq_set_maxlen(..., 1);" hack we use to enforce pipex(4) relatedVitaliy Makkoveev
2022-06-26'pipex_mppe' and 'pipex_session' structures have uint16_t bit fieldsVitaliy Makkoveev
2022-02-22Delete unnecessary #includes of <sys/domain.h> and/or <sys/protosw.h>Philip Guenther
2021-12-30Use a distinct variable while iterating the list of existing devices.Anton Lindqvist
2021-12-30Prevent concurrent access to incomplete or dying `sc' caused by sleepVitaliy Makkoveev
2021-07-20Turn pipex(4) session statistics to per-CPU counters. This makes pipex(4)mvs
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