summaryrefslogtreecommitdiffstats
path: root/usr.bin/diff/diff.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2015-10-08 11:39:59 +0000
committerdlg <dlg@openbsd.org>2015-10-08 11:39:59 +0000
commit6081070972e396d68bcbec5014c0d14e154e43c0 (patch)
treec03c62787020d5c0dec5a537d0e7671071d60749 /usr.bin/diff/diff.c
parentuse the state id to set a flowid on an mbuf. (diff)
downloadwireguard-openbsd-6081070972e396d68bcbec5014c0d14e154e43c0.tar.xz
wireguard-openbsd-6081070972e396d68bcbec5014c0d14e154e43c0.zip
if the mbuf has a valid flowid, use it instead of using siphash24
and a bunch of header fields we have to parse the mbuf for. siphash24 is about 20% of the cost of sending a udp packet on a trunk interface with tcpbench on my box. if there's a flowid set we get all that back. ok mpi@ mikeb@ sthen@
Diffstat (limited to 'usr.bin/diff/diff.c')
0 files changed, 0 insertions, 0 deletions