Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 May 2001 13:04:27 +0200
From:      Alexander Goller <alex@vivien.franken.de>
To:        freebsd-net@freebsd.org
Subject:   ICMP and large packets
Message-ID:  <20010504130427.O27031@vivien.franken.de>

next in thread | raw e-mail | index | archive | help
Hi, 

i stumbled about a question in a usenet group, asking why 
ping -s 16384 doesn't work. I recalled that i sent out that
big ICMP packets some years ago on other platforms and was
interested where that limit hidden in the sources. sendto()
returns an EMSGSIZE error on anything bigger than 8184 bytes
(thank you sec), but i don't really see where this occurs. 
If i understand it correctly it should be in raw_ip.c, but 
i didn't find the place where that particular limit is wired
to in the sources. raw_ip.c returns EMSGSIZE on packets bigger
than MAXPACKET only and that's what i thought is correct behaviour.

any pointers on where that EMSGSIZE is returned, i'm not having
a problem with that behaviour, just wanna know where it happens.

bye, alex
-- 
alexander goller		alex@vivien.franken.de

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




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