summaryrefslogtreecommitdiff
path: root/sys/net/if_pflow.c
AgeCommit message (Expand)Author
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
2014-04-21ip_output() using varargs always struck me as bizarre, esp since it's onlyHenning Brauer
2014-04-14"struct pkthdr" holds a routing table ID, not a routing domain one.Martin Pieuchot
2014-03-29Kill pflowproto 9, it's unfixable post 2038, a better, standardizedFlorian Obser
2014-01-24computing the ip csum just before the bpf mtap and only if there is aHenning Brauer
2014-01-21allow pflow(4) to determine the src IP address based on the routeSebastian Benoit
2013-11-01Send pflow(4) packets in the correct rdomain.Florian Obser
2013-10-19simplify: no need to muck with the pseudo hdr cksum any moreHenning Brauer
2013-10-17The header file netinet/in_var.h included netinet6/in6_var.h. ThisAlexander Bluhm
2013-09-13Don't send flows if flowsrc is not set. Packages had a brokenFlorian Obser
2013-08-13Split pflow version 9 and version 10 to be able to send 64 bitFlorian Obser
2013-08-10Cancel timeouts on pflow interface destruction.Florian Obser
2013-07-05bring back pflow v10; broken in previous commit, sorry.Florian Obser
2013-05-31export the original aka untranslated address for af-to in pflowFlorian Obser
2013-05-30export the original aka untranslated address in pflowSebastian Benoit
2013-05-03Export ingress/egress interface index in pflow(4).Florian Obser