> From: Krzysztof Krawczyk <[EMAIL PROTECTED]>
> Date: 1999-09-15 13:12:21 -0700
> To: [EMAIL PROTECTED]
> Subject: ping: sendto: Message too long
> In-reply-to:
> <[EMAIL PROTECTED]>
> Delivered-to: [EMAIL PROTECTED]
> X-Sender: [EMAIL PROTECTED]
> 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 [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to