lwip-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t)


From: Simon Goldschmidt
Subject: [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t)
Date: Mon, 08 Feb 2010 06:46:29 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; de; rv:1.9.2) Gecko/20100115 Firefox/3.6

Follow-up Comment #38, bug #27352 (project lwip):

I don't really understand actually where the difference is between *ip*-addr
and *in*-addr here. Did you mean you were confused by having both structs for
the stack? Well, if you are only programming sockets that you shouldn't have
used struct ip_addr at all... After all, in_addr is a socket-only define and
in my opinion, the code gets rather ugly when using it...

And I really don't understand what a typedef to u32_t has to do with byte
order?? Oh, and when the structs are packed, I don't think we can copy u16_t
because the port may be free to use unaligned pbuf payloads when setting
MEM_ALIGN to 1!

    _______________________________________________________

Reply to this item at:

  <http://savannah.nongnu.org/bugs/?27352>

_______________________________________________
  Nachricht geschickt von/durch Savannah
  http://savannah.nongnu.org/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]