[U-Boot] [PATCH 09/28] net: cosmetic: Un-typedef variables in net

Mike Frysinger vapier at gentoo.org
Fri Feb 3 13:05:07 CET 2012


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: <http://lists.denx.de/pipermail/u-boot/attachments/20120203/6d9ba5da/attachment.pgp>


More information about the U-Boot mailing list