summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2020-06-19let stoeplitz_to_key take a void * argument instead of uint8_t *.David Gwynne
2020-06-18pass the mbuf with the data separately to the one with the pkthdr to mtap.David Gwynne
2020-06-18add $OpenBSD$ tagsDavid Gwynne
2020-06-18extend the bpf_hdr struct to include some metadata if available.David Gwynne
2020-06-18Combine and replace duplicated code in pipex(4) and pppx(4) by new functionsmvs
2020-06-18Introduce stoeplitz_hash_n32() and use it to simplify the hash_ip*Theo Buehler
2020-06-18The same simplification can be done a second time: widen the type,Theo Buehler
2020-06-18Now that the calls to stoeplitz_cache_entry() are out of the way, we canTheo Buehler
2020-06-18The next step is to use that we have cached the result of the matrixTheo Buehler
2020-06-17make ph_flowid in mbufs 16bits by storing whether it's set in csum_flags.David Gwynne
2020-06-17Remove some of the unnecessary complications in the calculation of theTheo Buehler
2020-06-16Add a symmetric toeplitz implementation, with integration for nics.David Gwynne
2020-06-05Remove redundant codedenis
2020-06-04Fix pfr_kentry_byaddr() to be used for a rule in an anchor. ItYASUOKA Masahiko
2020-06-02When the set of ports in an aggr changes, set the aggr capabilities toJonathan Matthew
2020-05-31use ip{,6}_send instead of ip{,6}_output for l2tp and pptp.David Gwynne
2020-05-29Mark the descriptor as dead when starting to destroy it.Martin Pieuchot
2020-05-29dev/rndvar.h no longer has statistical interfaces (removed during variousTheo de Raadt
2020-05-27Document the various flavors of NET_LOCK() and rename the reader version.Martin Pieuchot
2020-05-26Extract more randomness from mbuf flowVisa Hankala
2020-05-26Use C99 initializers in 'struct filterops' definitions.Martin Pieuchot
2020-05-26Document which lock protect pipex(4) fields.Martin Pieuchot
2020-05-26Kill unecessary `pppx_ifs_lk' lock.Martin Pieuchot
2020-05-22better wordingDavid Gwynne
2020-05-22white space fixes. no functional change.David Gwynne
2020-05-22mention if_attach_queues().David Gwynne
2020-05-22speeling in comment fix. no functional change.David Gwynne
2020-05-21don't limit the output queue (ifq) length to 1 anymore.David Gwynne
2020-05-21back out 1.38. some bits of the stack aren't ready for it yet.David Gwynne
2020-05-20Use `if_bpf' directly instead of the non-initialized duplicated copy of it.Martin Pieuchot
2020-05-20defer calling !IFXF_MPSAFE driver start routines to the systqDavid Gwynne
2020-05-13bpf(4): separate descriptor non-blocking status from read timeoutcheloha
2020-05-13only pass the IO_NDELAY flag to ifq_deq_sleep as the nbio argument.David Gwynne
2020-05-12Set timeout(9) to refill the receive ring descriptors if the amount ofjan
2020-04-23Add support for autmatically moving traffic between rdomains on ipsec(4)tobhe
2020-04-20Don't return stack garbage even if it is going to beKenneth R Westerback
2020-04-19fix insufficient input sanitization in pf_rulecopyin() and pf_pool_copyin()Alexandr Nedvedicky
2020-04-18Use MHLEN for the space size of mbuf header. This fixes the panicYASUOKA Masahiko
2020-04-15Do not delete an existing RTF_CACHED entry with the same destinationMartin Pieuchot
2020-04-12Stop processing packets under non-exclusive (read) netlock.Martin Pieuchot
2020-04-12make ifpromisc assert that the caller is holding the NET_LOCK.David Gwynne
2020-04-12say if_pcount needs NET_LOCK instead of the kernel lock.David Gwynne
2020-04-12take NET_LOCK in aggr_clone_destroy() before calling aggr_p_dtor()David Gwynne
2020-04-12take NET_LOCK in tpmr_clone_destroy() before calling tpmr_p_dtor()David Gwynne
2020-04-12ifpromisc() requires NET_LOCK(), so acquire the lock when changingVisa Hankala
2020-04-11log() lines need \n too.David Gwynne
2020-04-11Avoid triggering KASSERT for bogus reason in pfsync_sendout with PFSYNC_DEBUG.Stefan Sperling
2020-04-11Grab the exclusive NET_LOCK() in the softnet thread.Martin Pieuchot
2020-04-11fix build with PFSYNC_DEBUG by switching a format string from %d to %zdStefan Sperling
2020-04-10Typo in comment.Martin Pieuchot