From owner-freebsd-net Fri May 4 4: 4:32 2001 Delivered-To: freebsd-net@freebsd.org Received: from vivien.franken.de (vivien.franken.de [194.94.249.90]) by hub.freebsd.org (Postfix) with ESMTP id 929A937B43C for ; Fri, 4 May 2001 04:04:29 -0700 (PDT) (envelope-from alex@vivien.franken.de) Received: by vivien.franken.de (Postfix, from userid 1000) id 0D4CB6C; Fri, 4 May 2001 13:04:28 +0200 (CEST) Date: Fri, 4 May 2001 13:04:27 +0200 From: Alexander Goller To: freebsd-net@freebsd.org Subject: ICMP and large packets Message-ID: <20010504130427.O27031@vivien.franken.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.4i Sender: owner-freebsd-net@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org 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