summaryrefslogtreecommitdiff
path: root/regress
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2016-03-03 00:25:10 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2016-03-03 00:25:10 +0000
commit73e23e5611d905f31db0aac7aa5ed1b8637f3999 (patch)
tree7b14ce8b5badfb193298c0fdccad586b852bc83f /regress
parent85963fa9336f24159f9ee0f5ef70f77adbabe6df (diff)
bump link_maxhdr up from 16 to 64
link_maxhdr is best explained as the space reserved before an ip packet payload for link headers, the most common of which is ethernet. 16 was a good choice when the only traffic we really did was ip over ethernet, but now there are commonly used transports that are bigger, specifically 802.11 traffic and vlan/vlan encapsulations, that justify bumping it up. i chose 64 because it would also allow enough space for encapsulations like etherip or gif. this reduces the size of the smallest packet that can fit into an mbuf before more storage needs to be suffixed, but because most traffic is either full sized (ie, already bigger than a single mbuf) or tiny packets (think tcp ACKS, keystrokes over ssh, or dns requests) the impact is negligible. ok stsp@ mpi@ sthen@ mikeb@
Diffstat (limited to 'regress')
0 files changed, 0 insertions, 0 deletions