diff options
| author | 2005-05-27 04:55:27 +0000 | |
|---|---|---|
| committer | 2005-05-27 04:55:27 +0000 | |
| commit | ce12ce87d291522f11dbdffa40853d35e0846adc (patch) | |
| tree | 8fb5cc20fd7e3be798cbcea2a5613c3935641cbf /sys/netinet/in.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/netinet/in.h')
| -rw-r--r-- | sys/netinet/in.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/sys/netinet/in.h b/sys/netinet/in.h index a0d14d5878f..84985ed987a 100644 --- a/sys/netinet/in.h +++ b/sys/netinet/in.h @@ -1,4 +1,4 @@ -/* $OpenBSD: in.h,v 1.65 2005/05/24 04:20:25 markus Exp $ */ +/* $OpenBSD: in.h,v 1.66 2005/05/27 04:55:28 mcbride Exp $ */ /* $NetBSD: in.h,v 1.20 1996/02/13 23:41:47 christos Exp $ */ /* @@ -320,6 +320,11 @@ struct ip_mreq { #define INET_ADDRSTRLEN 16 /* + * JUMBO MTU + */ +#define IP_JUMBO_MTU 9000 + +/* * Definitions for inet sysctl operations. * * Third level is protocol number. |
