Received: with ECARTIS (v1.0.0; list netdev); Mon, 11 Apr 2005 18:26:25 -0700 (PDT) Received: from web52209.mail.yahoo.com (web52209.mail.yahoo.com [206.190.39.91]) by oss.sgi.com (8.13.0/8.13.0) with SMTP id j3C1QJ5q024150 for ; Mon, 11 Apr 2005 18:26:19 -0700 Received: (qmail 69497 invoked by uid 60001); 12 Apr 2005 01:26:14 -0000 Comment: DomainKeys? See http://antispam.yahoo.com/domainkeys DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; b=RbM4Onsq1kzEFhhgYtckTrZ6zY4Md033alU0iD/Onkjmhc1TnMoL+y3cYHNRrA9sTs9eZl304xb1shEJ0PtIrpgvZCQukZ+tsqlY8Be4mmbTtP8+dXbnqsuVTnkwMvDzyZcj07TXpkzmRCoaVA2yJn0jAwPCg5g1KP55HLnG+lI= ; Message-ID: <20050412012614.69495.qmail@web52209.mail.yahoo.com> Received: from [202.56.231.117] by web52209.mail.yahoo.com via HTTP; Mon, 11 Apr 2005 18:26:13 PDT Date: Mon, 11 Apr 2005 18:26:13 -0700 (PDT) From: linux lover Subject: Re: Why skbuff.h different for 2.4 and 2.6 kernels? To: acme@conectiva.com.br Cc: netdev@oss.sgi.com In-Reply-To: 6667 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: ClamAV 0.83/819/Sun Apr 10 17:01:27 2005 on oss.sgi.com X-Virus-Status: Clean X-archive-position: 1678 X-ecartis-version: Ecartis v1.0.0 Sender: netdev-bounce@oss.sgi.com Errors-to: netdev-bounce@oss.sgi.com X-original-sender: linux_lover2004@yahoo.com Precedence: bulk X-list: netdev Content-Length: 1086 Lines: 49 Hello, Thanks for reply. Can you please tell me about my second question? 2)But Why header structures for ipcomp, eh, esp(IPSEC) not included in skbuff.h? regards, linux_lover. --- Arnaldo Carvalho de Melo wrote: > On Apr 11, 2005 1:37 PM, linux lover > wrote: > > hello, > > 1) In 2.4 kernel series skbuff.h has following > unions > > for each TCP/IP layer. > > > > union { > > unsigned char *raw; > > } mac; > > > > why mac union in 2.6 not have ethernet header? > Also > > spxhdr and ipxhdr structures are removed from nh > and h > > unions. > > Work in progress, the ultimate goal is to get rid of > all of these unions and > have just: > > void *transport_header; > void *network_header; > void *link_header; > > So just set mac.raw directly and cast it to the > desired type. > > - Arnaldo > __________________________________ Do you Yahoo!? Yahoo! Small Business - Try our new resources site! http://smallbusiness.yahoo.com/resources/