summaryrefslogtreecommitdiffstats
path: root/usr.bin/ssh/ssh_api.c
diff options
context:
space:
mode:
authordlg <dlg@openbsd.org>2019-09-13 01:31:24 +0000
committerdlg <dlg@openbsd.org>2019-09-13 01:31:24 +0000
commit2057bf4fb39a10da0b116cb2e1eed6fbceb6b51e (patch)
tree1eaede4cd4a232167fa0b2ac34a2595413648905 /usr.bin/ssh/ssh_api.c
parentSAS3 controllers have a maximum size for sgl chain segments, and the (diff)
downloadwireguard-openbsd-2057bf4fb39a10da0b116cb2e1eed6fbceb6b51e.tar.xz
wireguard-openbsd-2057bf4fb39a10da0b116cb2e1eed6fbceb6b51e.zip
tweak tun/tap kn_data to be more consistent with everything else.
for EVFILT_READ, kn_data is now like FIONREAD and reports how many bytes there are to read. previously it would report how many packets were available to read, which is not something i've seen anywhere else. for EVFILT_WRITE, report the max number of bytes a write can do. previously it was if_mtu bytes, now it is if_hdrlen + if_hardmtu bytes, which is the same as what the write path uses as it's maximum message size. discussed with and ok visa@
Diffstat (limited to 'usr.bin/ssh/ssh_api.c')
0 files changed, 0 insertions, 0 deletions