summaryrefslogtreecommitdiff
path: root/sys/net/if_pflow.c
AgeCommit message (Expand)Author
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
2015-09-12Call socreate(9) only when we have a destination ip and port.Florian Obser
2015-09-09size for free()Florian Obser
2015-09-04pflow_flush() still needs sc->send_nam; free it later.Florian Obser
2015-09-04Fix an mbuf use-after-fruit in pflow_clone_create().Martin Pieuchot
2015-07-21We don't do 'ARGSUSED' anymoreFlorian Obser
2015-07-21use curproc instead of proc0Florian Obser
2015-07-20Use the kernel socket interface (sosend(9) etc) instead of shovingFlorian Obser
2015-07-16add missing malloc checkFlorian Obser
2015-06-16Store a unique ID, an interface index, rather than a pointer to theMartin Pieuchot
2015-06-07Introduce unhandled_af() for cases where code conditionally doesJonathan Gray
2014-12-19unifdef INET in net code as a precursor to removing the pretend option.Ted Unangst
2014-11-20Yet more #include de-duplication.Kenneth R Westerback
2014-11-18move arc4random prototype to systm.h. more appropriate for most codeTed Unangst
2014-08-13Bring IPFIX sequence numbers in line with the RFC; originalBret Lambert
2014-07-22Fewer <netinet/in_systm.h> !Martin Pieuchot
2014-07-12add a size argument to free. will be used soon, but for now default to 0.Ted Unangst