From owner-freebsd-hackers Sun Jul 6 18:47:22 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.5/8.8.5) id SAA17017 for hackers-outgoing; Sun, 6 Jul 1997 18:47:22 -0700 (PDT) Received: from mail.cdsnet.net (mail.cdsnet.net [204.118.244.5]) by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id SAA17011 for ; Sun, 6 Jul 1997 18:47:19 -0700 (PDT) Received: from johndoe (1Cust17.Max13.Boston.MA.MS.UU.NET [153.35.75.145]) by mail.cdsnet.net (8.8.5/8.7.3) with SMTP id SAA08619; Sun, 6 Jul 1997 18:46:43 -0700 (PDT) Message-Id: <3.0.2.32.19970706214619.00777548@ranier.altavista-software.com> X-Sender: 3ampop@ranier.altavista-software.com X-Mailer: QUALCOMM Windows Eudora Pro Version 3.0.2 (32) Date: Sun, 06 Jul 1997 21:46:19 -0400 To: dg@root.com, Archie Cobbs From: Matt Thomas Subject: Re: VJ compression and MAX_HDR Cc: freebsd-hackers@FreeBSD.ORG In-Reply-To: <199707070053.RAA18621@implode.root.com> References: Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Sender: owner-hackers@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk At 05:53 PM 7/6/97 -0700, David Greenman wrote: >>After further review, it looks like the genesis of this change is >>the fact that sl_compress_tcp() requires the full TCP/IP headers >>to lie within the first mbuf, and sl_uncompress_tcp() requires the >>TCP/IP header (in the TYPE_UNCOMPRESSED_TCP case) to also be in a >>contiguous buffer... >> >>Plus the fact that m_pullup() won't work for values greater than MHLEN >>doesn't help. > > I think the case of IP+TCP header > MLEN is more than rare...I think it >never happens. Even with all options, the IP header doesn't exceed 64 bytes. But the maximum TCP header is also 64 bytes so it could be > MLEN. For now it isn't probable since few TCP options exist to push the TCP header beyond 32 byte mark. SACK will push that close to the limit however. -- Matt Thomas Internet: matt@3am-software.com 3am Software Foundry WWW URL: http://www.3am-software.com/bio/matt.html Westford, MA Disclaimer: I disavow all knowledge of this message