diff options
author | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-05-27 04:55:29 +0000 |
---|---|---|
committer | Ryan Thomas McBride <mcbride@cvs.openbsd.org> | 2005-05-27 04:55:29 +0000 |
commit | 4470f6d571b57a867ad4f7875ea2cd7f46612f98 (patch) | |
tree | 8400c69016747dd92adad4694f3ecc9963d6d1f1 /sbin/route/show.c | |
parent | e0dcbdc8ae74cec294cbf562a7cb834495055882 (diff) |
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 'sbin/route/show.c')
-rw-r--r-- | sbin/route/show.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/sbin/route/show.c b/sbin/route/show.c index d82943384aa..a215921b540 100644 --- a/sbin/route/show.c +++ b/sbin/route/show.c @@ -1,4 +1,4 @@ -/* $OpenBSD: show.c,v 1.42 2005/03/30 05:40:55 henning Exp $ */ +/* $OpenBSD: show.c,v 1.43 2005/05/27 04:55:27 mcbride Exp $ */ /* $NetBSD: show.c,v 1.1 1996/11/15 18:01:41 gwr Exp $ */ /* @@ -93,6 +93,7 @@ static const struct bits bits[] = { { RTF_PROTO2, '2' }, { RTF_PROTO3, '3' }, { RTF_CLONED, 'c' }, + { RTF_JUMBO, 'J' }, { 0 } }; |