Date: Fri, 4 May 2001 14:11:51 +0300 From: Ruslan Ermilov <ru@FreeBSD.ORG> To: Alexander Goller <alex@vivien.franken.de> Cc: freebsd-net@FreeBSD.ORG Subject: Re: ICMP and large packets Message-ID: <20010504141151.B82045@sunbay.com> In-Reply-To: <20010504130427.O27031@vivien.franken.de>; from alex@vivien.franken.de on Fri, May 04, 2001 at 01:04:27PM %2B0200 References: <20010504130427.O27031@vivien.franken.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, May 04, 2001 at 01:04:27PM +0200, Alexander Goller wrote: > 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. > sysctl -w net.inet.raw.maxdgram=16392 Cheers, -- Ruslan Ermilov Oracle Developer/DBA, ru@sunbay.com Sunbay Software AG, ru@FreeBSD.org FreeBSD committer, +380.652.512.251 Simferopol, Ukraine http://www.FreeBSD.org The Power To Serve http://www.oracle.com Enabling The Information Age 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?20010504141151.B82045>