summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2023-01-12Binding the accept socket in TCP input relies on the fact that theAlexander Bluhm
2023-01-09flesh out ifiq_enqueueDavid Gwynne
2023-01-09count the number times a packet was dropped by bpf as fdrops.David Gwynne
2023-01-08Use NULL instead 0 for pointer initialization.Vitaliy Makkoveev
2023-01-06PF_ANCHOR_STACK_MAX is insufficient protection against stack overflow.Alexandr Nedvedicky
2023-01-05more consistently name pf_state * variables "st".David Gwynne
2023-01-05pfctl fails to add addresses to undefined/inactive tableAlexandr Nedvedicky
2023-01-04move the pf_state_tree_id type from pfvar.h to pfvar_priv.h.David Gwynne
2023-01-04fix a comment, no functional change.David Gwynne
2023-01-04move the pf_state_tree rb tree type from pfvar.h to pfvar_priv.hDavid Gwynne
2023-01-02use the pf generated toeplitz hash when setting the mbuf flow id.David Gwynne
2022-12-27Fix array bounds mismatch with clang 15Patrick Wildt
2022-12-24fix and enable toeplitz hashing of pf_state_keys again.David Gwynne
2022-12-23disable the use of the has in the pf state key lookup (for now).David Gwynne
2022-12-22use stoeplitz to generate a hash/flowid for state keys.David Gwynne
2022-12-22provide stoeplitz_n32()David Gwynne
2022-12-21tiny whitespace tweak.David Gwynne
2022-12-21consistently use the PF_REF wrappers around refcnts.David Gwynne
2022-12-21prefix pf_state_key and pf_state_item struct bits to make them more unique.David Gwynne
2022-12-19move pf_state_item and pf_state_key structs from pfvar.h to pfvar_priv.h.David Gwynne
2022-12-16always keep pf_state_keys attached to pf_states.David Gwynne
2022-11-26Next step of netlock pressure decreasing in pppx(4).Vitaliy Makkoveev
2022-11-25revert pf.c r1.1152 again: move pf_purge out from under the kernel lockAlexander Bluhm
2022-11-25Revert previous commit. It was not properly tested and produces splassertMark Kettenis
2022-11-25get rid of NET_LOCK in the pf purge workDavid Gwynne
2022-11-24Remove netlock assertion within PF_LOCK(). The netlock should be takenVitaliy Makkoveev
2022-11-23Let nd6_if{at,de}tach() be void and take an ifp argumentKlemens Nanni
2022-11-23Make `so' dereference safe within pflow_output_process().Vitaliy Makkoveev
2022-11-23Remove unused struct ifnet's *if_afdata[] and struct domain's dom_if{at,de}ta...Klemens Nanni
2022-11-23Add *if_nd to struct ifnet, call nd6_if{at,de}tach() directlyKlemens Nanni
2022-11-22Interface tables (a.k.a. kif) in pf(4) are currently protectedAlexandr Nedvedicky
2022-11-22count how many times ifiqs enqueue and dequeue packets.David Gwynne
2022-11-21Replace manual loop and duplicate RB_NEXT with RB_FOREACHKlemens Nanni
2022-11-21Fix DIOCIGETIFACES ioctl so all network interfacesAlexandr Nedvedicky
2022-11-19Decrease netlock pressure in pppx(4).Vitaliy Makkoveev
2022-11-14Unlock SIOCGIFG{MEMB,ATTR,LIST}Klemens Nanni
2022-11-14Unlock SIOCGIFCONFKlemens Nanni
2022-11-14Document global interface group list lockingKlemens Nanni
2022-11-12Put pf_state_import() under NPFSYNC>0 to fix build without pfsyncKlemens Nanni
2022-11-11me and my text editor are not getting along todayDavid Gwynne
2022-11-11try pf.c r1.1143 again: move pf_purge out from under the kernel lockDavid Gwynne
2022-11-11add a mutex to struct pf_state and init it.David Gwynne
2022-11-11kn points out that brackets are not parenthesesDavid Gwynne
2022-11-11fix a misuse of vi.David Gwynne
2022-11-11kn@ points out that lock annotations are usually wrapped in ()David Gwynne
2022-11-11steal a change by sashan@ to say which bits of pf_state need which locks.David Gwynne
2022-11-11rename pfsync_up() to pfsync_is_up()David Gwynne
2022-11-11Turn KASSERT() into if() to prevent state being inserted toAlexandr Nedvedicky
2022-11-11rewrite the pf_state_peer_ntoh and pf_state_peer_hton macros as functions.David Gwynne
2022-11-11move struct pf_state from pfvar.h to pfvar_priv.h.David Gwynne