summaryrefslogtreecommitdiffstats
path: root/sys/dev/acpi
diff options
context:
space:
mode:
authorrenato <renato@openbsd.org>2017-02-22 13:55:14 +0000
committerrenato <renato@openbsd.org>2017-02-22 13:55:14 +0000
commit5a8b257e417332a5b7c9d528cac7b8352c18ca2f (patch)
treede2ae579d191cd8fe0e336bcc3d5a091d197ffe9 /sys/dev/acpi
parentFix comments about a few ipv6 sockoptions (diff)
downloadwireguard-openbsd-5a8b257e417332a5b7c9d528cac7b8352c18ca2f.tar.xz
wireguard-openbsd-5a8b257e417332a5b7c9d528cac7b8352c18ca2f.zip
Add missing htonl for IPsec SPI.
Also, do not allow to configure SPI values in the 0..255 range. RFC 4302 and RFC 4303 say the following: "The set of SPI values in the range 1 through 255 are reserved by the Internet Assigned Numbers Authority (IANA) for future use; a reserved SPI value will not normally be assigned by IANA unless the use of the assigned SPI value is specified in an RFC. The SPI value of zero (0) is reserved for local, implementation-specific use and MUST NOT be sent on the wire". ok and tweak benno@
Diffstat (limited to 'sys/dev/acpi')
0 files changed, 0 insertions, 0 deletions