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: Bill Auerbach
Subject: [lwip-devel] [bug #27352] Change ip_addr from struct to typedef (u32_t)
Date: Wed, 19 May 2010 20:06:39 +0000
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.2.3) Gecko/20100401 Firefox/3.6.3 ( .NET CLR 3.5.30729)

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

I needed pack(1) as things break without it.  So I tried pack(2) and
everything I use (RAW API, UDP, TCP, DHCP, AUTOIP, ICMP, ARP) work fine.  I
can't imagine upper layers (netbuf, sockets) that I don't use being affected
by this packing.

I'm using the NOIS II too which as you know needs alignment and I have no
packing specified for ip_addr_t.  I DO have struct packing of 2 otherwise. 
Benchmark no packing and packing on the NIOS II - the speed change was
substantial.

    _______________________________________________________

Reply to this item at:

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

_______________________________________________
  Message sent via/by Savannah
  http://savannah.nongnu.org/




reply via email to

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