#784 closed defect (fixed)

BYTE_PACK used in header files but not defined

Reported by: Eric Norum Owned by: Eric Norum
Priority: highest Milestone: 2
Component: network/legacy Version: unknown
Severity: critical Keywords:
Cc: bugs@…, ralf.corsepius@… Blocked By:


netinet/tcp.h has been modified to use BYTE_PACK but doesn't define it.

Should the code from net/if_arp.h:
#ifdef rtems
#define BYTE_PACK attribute((packed))

be copied to the other places wher BYTE_PACK is used?
Also, I think that there should be an '#else' clause to provide an empty BYTE_PACK in the non-rtems case?
And, is rtems the correct conditional? Isn't this actually a GCC extension?

CVS trunk

All targets which use networking

Change History (1)

comment:1 Changed on 08/02/05 at 11:20:57 by Ralf Corsepius

Status: assignedclosed

State-Changed-From-To: open->closed
State-Changed-Why: BYTE_PACK has been removed from cvs HEAD

Note: See TracTickets for help on using tickets.