Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Sep 1999 13:43:26 -0700
From:      "Justin C. Walker" <justin@apple.com>
To:        hackers@FreeBSD.ORG
Subject:   Re: ping: sendto: Message too long
Message-ID:  <199909152043.NAA00772@rhapture.apple.com>
In-Reply-To: <Pine.BSF.4.10.9909131744020.88005-100000@resnet.uoregon.edu>

next in thread | previous in thread | raw e-mail | index | archive | help
> From: Krzysztof Krawczyk <cys@denied.cx>
> Date: 1999-09-15 13:12:21 -0700
> To: hackers@FreeBSD.ORG
> Subject: ping: sendto: Message too long
> In-reply-to:
> <Pine.BSF.4.10.9909131744020.88005-100000@resnet.uoregon.edu>
> Delivered-to: freebsd-hackers@freebsd.org
> X-Sender: cys@tepsa.lame.pl
> X-Loop: FreeBSD.ORG
>
> Hi,
>
> Could someone say me, why the maximum packetsize in ping command  
is 8184
> (ping -s 8184)? If I want to do a bigger packetsize than this i got 
> message like this:
   My guess: this is a "socket buffer size" issue.  There should be  
two ways around this:
   - change the code to have 'ping' set its socket buffer sizes based
     on the requested size
   - use 'sysctl' to change the system's default send/receive buffer 
     sizes (see net.inet.raw.maxdgram, net.inet.raw.recvspace).

Naturally, I haven't tried this, or eyeballed the code, so treat  
this with some caution.

Regards,

Justin

--
Justin C. Walker, Curmudgeon-At-Large *
Institute for General Semantics       |
Manager, CoreOS Networking            |   Men are from Earth.
Apple Computer, Inc.                  |   Women are from Earth.
2 Infinite Loop                       |       Deal with it.
Cupertino, CA 95014                   |
*-------------------------------------*-------------------------------*


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199909152043.NAA00772>