summaryrefslogtreecommitdiff
path: root/sys/net/if_pflow.c
AgeCommit message (Expand)Author
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-12-19Initialize `sc_outputtask' before interface attachment. if_alloc_sadl()Vitaliy Makkoveev
2023-12-16Rework pflowioctl() lock dances.Vitaliy Makkoveev
2023-12-12slyle(9) fix. No functional changes.Vitaliy Makkoveev
2023-12-12Turn `pflowstats' statistics counters into per-CPU counters to make themVitaliy Makkoveev
2023-12-11Turn `pflow_softc' list into SMR list.Vitaliy Makkoveev
2023-12-08Add spaces around '='. style(9) fix, no functional changes.Vitaliy Makkoveev
2023-12-08Introduce `sc_mtx' mutex(9) to protect the most of pflow_softcVitaliy Makkoveev
2023-11-09Remove delayed timeout(9) initialization. timeout_set*() only assignVitaliy Makkoveev
2023-04-13remove duplicate includesJonathan Gray
2022-11-23Make `so' dereference safe within pflow_output_process().Vitaliy Makkoveev
2022-11-11prepare for moving struct pf_state from pfvar.h to pfvar_priv.hDavid Gwynne
2022-08-12Remove unused fields from 'pflow_softc' structure.Vitaliy Makkoveev
2022-08-12Fix race between pflow_output_process() and pflow_clone_destroy().Vitaliy Makkoveev
2022-06-06Simplify solock() and sounlock(). There is no reason to return a valueClaudio Jeker
2020-08-21Leave default ifq_maxlen handling to ifq_init()kn
2020-07-10Change users of IFQ_SET_MAXLEN() and IFQ_IS_EMPTY() to use the "new" API.Patrick Wildt
2020-06-24kernel: use gettime(9)/getuptime(9) in lieu of time_second(9)/time_uptime(9)cheloha
2018-07-30Use FNONBLOCK instead of SS_NBIO to check/indicate that the I/O modeMartin Pieuchot
2018-07-16use 'switch' rathan than an if-else construct to match on the netflow version...Jasper Lievisse Adriaanse
2018-06-06Pass the socket to sounlock(), this prepare the terrain for per-socketMartin Pieuchot
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-10-31- add one more softnet taskqAlexandr Nedvedicky
2017-09-08If you use sys/param.h, you don't need sys/types.hTheo de Raadt
2017-08-12Use the NET_LOCK() macro instead of handrolling it.Martin Pieuchot
2017-08-11Remove NET_LOCK()'s argument.Martin Pieuchot
2017-08-10Move the solock()/sounlock() dance outside of sobind().Martin Pieuchot
2017-05-31Use mbuf_queue to properly serialize access to pflow output queue.Visa Hankala
2017-05-30remove no longer needed splnet/splx.Sebastian Benoit
2017-05-27fix previous as noted by mpi, thx florianSebastian Benoit
2017-05-27move sending of pflow packet into a task, seperated from the dataSebastian Benoit
2017-05-15Enable the NET_LOCK(), take 3.Martin Pieuchot
2017-03-17Revert the NET_LOCK() and bring back pf's contention lock for release.Martin Pieuchot
2017-02-16Revert "Release the NET_LOCK() before entering per-driver ioctl() routine".Martin Pieuchot
2017-02-07No longer need to unlock the netlock since the upper layer is doing it.Martin Pieuchot
2017-01-25Enable the NET_LOCK(), take 2.Martin Pieuchot
2017-01-24A space here, a space there. Soon we're talking real whitespaceKenneth R Westerback
2017-01-23Flag pseudo-interfaces as such in order to call add_net_randomness()Martin Pieuchot
2017-01-20No need to handle SIOCAIFADDR in drivers, it's never passed down toMartin Pieuchot
2017-01-18Allow changing of sender ip/port without switching address family.Florian Obser
2017-01-18Allow changing of receiver ip/port without switching address family.Florian Obser
2017-01-03Move the logic for SIOCSETPFLOW in a helper function to help withMartin Pieuchot
2016-12-29Change NET_LOCK()/NET_UNLOCK() to be simple wrappers aroundMartin Pieuchot
2016-12-21Remove the netlock workaround since if_detach is doing it for us now.Mike Belopuhov
2016-12-20Release the NET_LOCK() before calling any socket function since it isMartin Pieuchot
2016-10-04Convert timeouts that need a process context to timeout_set_proc(9).Martin Pieuchot
2016-04-29Make if_output() return EAFNOSUPPORT instead of just dropping packetsKenneth R Westerback
2015-10-03IPv6 transport for pflow data.Florian Obser