From mboxrd@z Thu Jan 1 00:00:00 1970 From: Mike Frysinger Date: Fri, 3 Feb 2012 07:05:07 -0500 Subject: [U-Boot] [PATCH 09/28] net: cosmetic: Un-typedef variables in net In-Reply-To: <1327020811-1538-10-git-send-email-joe.hershberger@ni.com> References: <1327020811-1538-1-git-send-email-joe.hershberger@ni.com> <1327020811-1538-10-git-send-email-joe.hershberger@ni.com> Message-ID: <201202030705.08534.vapier@gentoo.org> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de On Thursday 19 January 2012 19:53:12 Joe Hershberger wrote: > Un-typedef IP_t, Ethernet_t, VLAN_Ethernet_t, ARP_t, ICMP_t i'm not sure about this. i don't mind the typedefs myself and they have the advantage of already being done ... let's see what Wolfgang prefers. > The existing definition of IP_t includes UDP header, so name it to > accurately describe the structure i feel like we should split it out. drop the UDP parts from IP_t and add a new IP_UDP_t. much of the code operates on UDP packages, but not all (such as the main NetReceive func). -mike -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 836 bytes Desc: This is a digitally signed message part. URL: