summaryrefslogtreecommitdiff
path: root/sys/net/if_pppx.c
AgeCommit message (Expand)Author
2024-09-20remove unneeded semicolons; checked by millert@Jonathan Gray
2024-09-09Don't take netlock while setting `if_description'.Vitaliy Makkoveev
2024-07-30Exports the statistics when PIPEXDSESSION. Found by ymatsui at iij.YASUOKA Masahiko
2023-12-23Backout always allocate per-CPU statistics counters for networkAlexander Bluhm
2023-12-22Always allocate per-CPU statistics counters for network interfaceVitaliy Makkoveev
2023-02-10Adjust knote(9) APIVisa Hankala
2023-01-30Replace selwakeup() with KNOTE() in pppac(4) and pppx(4)Visa Hankala
2022-11-26Next step of netlock pressure decreasing in pppx(4).Vitaliy Makkoveev
2022-11-19Decrease netlock pressure in pppx(4).Vitaliy Makkoveev
2022-08-29Use struct refcnt for interface address reference counting.Alexander Bluhm
2022-07-25Don't grab netlock within pppacioctl(). pipex(4) doesn't rely onVitaliy Makkoveev
2022-07-18Remove locks description duplicate. No functional changes.Vitaliy Makkoveev
2022-07-15Introduce fine grained pipex(4) locking. Use per-session `pxs_mtx'Vitaliy Makkoveev
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