Re: [U-Boot] [RFC PATCH v2 05/11] net: add definition of udp_hdr

2015-11-23 Thread Joe Hershberger
On Mon, Nov 9, 2015 at 1:38 AM, Chris Packham wrote: > UDP is the same over IPv4 as it is over other protocols (i.e. IPv6) add > a definition of just the UDP header independent of the IPv4 header that > it may or may not be combined with. > > Signed-off-by: Chris Packham > --- > Ideally struct ip

[U-Boot] [RFC PATCH v2 05/11] net: add definition of udp_hdr

2015-11-08 Thread Chris Packham
UDP is the same over IPv4 as it is over other protocols (i.e. IPv6) add a definition of just the UDP header independent of the IPv4 header that it may or may not be combined with. Signed-off-by: Chris Packham --- Ideally struct ip_udp_hdr would be defined as struct ip_udp_hdr { struc