diff options
author | 2005-05-27 04:55:27 +0000 | |
---|---|---|
committer | 2005-05-27 04:55:27 +0000 | |
commit | ce12ce87d291522f11dbdffa40853d35e0846adc (patch) | |
tree | 8fb5cc20fd7e3be798cbcea2a5613c3935641cbf /sys/sys/socket.h | |
parent | handle SIOCSIFMTU ioctl (diff) | |
download | wireguard-openbsd-ce12ce87d291522f11dbdffa40853d35e0846adc.tar.xz wireguard-openbsd-ce12ce87d291522f11dbdffa40853d35e0846adc.zip |
Experimental support for opportunitic use of jumbograms where only some hosts
on the local network support them.
This adds a new socket option, SO_JUMBO, and a new route flag,
RTF_JUMBO. If _both_ the socket option is set and the route for the host
has RTF_JUMBO set, ip_output will fragment the packet to the largest
possible size for the link, ignoring the card's MTU.
The semantics of this feature will be evolving rapidly; talk to us
if you intend to use it.
ok deraadt@ marius@
Diffstat (limited to 'sys/sys/socket.h')
-rw-r--r-- | sys/sys/socket.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h index a429a775b41..2ef396b5947 100644 --- a/sys/sys/socket.h +++ b/sys/sys/socket.h @@ -1,4 +1,4 @@ -/* $OpenBSD: socket.h,v 1.51 2005/04/04 22:18:47 hshoexer Exp $ */ +/* $OpenBSD: socket.h,v 1.52 2005/05/27 04:55:28 mcbride Exp $ */ /* $NetBSD: socket.h,v 1.14 1996/02/09 18:25:36 christos Exp $ */ /* @@ -66,6 +66,7 @@ #define SO_LINGER 0x0080 /* linger on close if data present */ #define SO_OOBINLINE 0x0100 /* leave received OOB data in line */ #define SO_REUSEPORT 0x0200 /* allow local address & port reuse */ +#define SO_JUMBO 0x0400 /* try to use jumbograms */ /* * Additional options, not kept in so_options. |