summaryrefslogtreecommitdiffstats
path: root/usr.sbin/unbound/testcode/unitmain.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2020-12-10 06:53:38 +0000
committerdlg <dlg@openbsd.org>2020-12-10 06:53:38 +0000
commit0e8d48915ab1932c02dfb6b8d85e654b999687e1 (patch)
treeefa6c56c4047bde3ba63084a373f124840d8cca6 /usr.sbin/unbound/testcode/unitmain.c
parentwhen setting a flowid, set the M_FLOWID csum_flags bit too. (diff)
downloadwireguard-openbsd-0e8d48915ab1932c02dfb6b8d85e654b999687e1.tar.xz
wireguard-openbsd-0e8d48915ab1932c02dfb6b8d85e654b999687e1.zip
classify packets without a flowid into bucket 0, not a random bucket.
putting packets into random buckets means packets in a flow/connection will be reorderd. pf assigns a flowid if it's enabled, and you need pf to configure code, so it's reasonable to assume that most packets will have a flowid. using bucket 0 like this is what we do in most other places that bin packets with the flowid.
Diffstat (limited to 'usr.sbin/unbound/testcode/unitmain.c')
0 files changed, 0 insertions, 0 deletions