summaryrefslogtreecommitdiff
path: root/sys/net
AgeCommit message (Expand)Author
2023-02-15pfsync(4) panics on NULL pointer dereference if thereAlexandr Nedvedicky
2023-02-10Make tun(4) and tap(4) event filters MP-safe.Visa Hankala
2023-02-10Adjust knote(9) APIVisa Hankala
2023-02-07internal representation of icmp type/code in pfctl(8)/pf(4) does notAlexandr Nedvedicky
2023-02-06consolidate mbuf header parsing on device driver layerJan Klemkow
2023-02-03Remove redundant DIAGNOSTIC wrappers around KASSERT macros.Miod Vallat
2023-02-02Use binary or to set the ether_vtag which makes the code the sameClaudio Jeker
2023-01-30Replace selwakeup() with KNOTE() in pppac(4) and pppx(4)Visa Hankala
2023-01-28Revert the `rt_lock' rwlock(9) diff to fix the recursiveVitaliy Makkoveev
2023-01-26backing "consolidate mbuf header parsing on device driver layer"Theo de Raadt
2023-01-24consolidate mbuf header parsing on device driver layerJan Klemkow
2023-01-22Fix pf_anchor_stackframe commit to revert pf rule matching to theYASUOKA Masahiko
2023-01-22Move SS_CANTRCVMORE and SS_RCVATMARK bits from `so_state' to `sb_state' ofVitaliy Makkoveev
2023-01-21Introduce `rt_lock' rwlock(9) and use it instead of kernel lock toVitaliy Makkoveev
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