Date: Tue, 9 Feb 1999 13:47:32 -0800 (PST) From: Julian Elischer <julian@whistle.com> To: Larry Lile <lile@stdio.com> Cc: hackers@FreeBSD.ORG Subject: Re: NFS Alignment? was (Re: Why did this panic?) Message-ID: <Pine.BSF.3.95.990209134651.5802I-100000@current1.whistle.com> In-Reply-To: <Pine.BSF.4.05.9902091519290.14147-100000@heathers.stdio.com>
next in thread | previous in thread | raw e-mail | index | archive | help
ethernet headers are 14 bytes they are trying to allign the IP header on a word boundary.. julian On Tue, 9 Feb 1999, Larry Lile wrote: > > By the way, is the "m->m_data += 2;" still a neccesary evil to > apease NFS? I have always seen it in drivers but I never understood > why it was there or if I really needed to follow it. > > from if_ed.c: 2727-2732 > > /* > * The +2 is to longword align the start of the real packet. > * This is important for NFS. > */ > m->m_data += 2; > eh = mtod(m, struct ether_header *); > > Larry Lile > lile@stdio.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.990209134651.5802I-100000>