summaryrefslogtreecommitdiff
path: root/sys/net/if_var.h
diff options
context:
space:
mode:
authorDavid Gwynne <dlg@cvs.openbsd.org>2018-11-11 05:55:11 +0000
committerDavid Gwynne <dlg@cvs.openbsd.org>2018-11-11 05:55:11 +0000
commit947ea27b7001429498c52ac4a91fefe33b367e6c (patch)
treecc9e497ccb6f2f10a72c1271d63771dc9ef138fd /sys/net/if_var.h
parentb7a02204b882b363ec2891365e07af048d8474c6 (diff)
use the llprio on gre(4) and eoip(4) interfaces for the keepalive tos
llprios are valued 0 to 7, while the ip tos/dscp/tclass is an 8 bit value. fortunately the high 3 bits map nicely to the llprio values, so we shift the llprio into place when generating the keepalive frames. the llprio is defaulted to the value that cisco uses for their gre keepalives.
Diffstat (limited to 'sys/net/if_var.h')
0 files changed, 0 insertions, 0 deletions