RE: [ixp1200] Problem running packet transmitting code
Shorfuzzaman, Hello! There is an errata concerning this issue on the web site for the book. Here is a link to the errata web page: http://www.intel.com/intelpress/ixp1200/errata.htm Sorry for the trouble! A ------------------------------ Aaron Kunze Intel Research and Development aaron.kunze@intel.com ----PGP Key ID: 0x81124B7C---- ----NOT SPEAKING FOR INTEL---- ---------GO BOILERS!!---------
-----Original Message----- From: ixp1200-bounces@lists.cs.princeton.edu [mailto:ixp1200-bounces@lists.cs.princeton.edu] On Behalf Of Mohammad Shorfuzzaman Sent: Tuesday, April 20, 2004 5:00 AM To: ixp1200@lists.cs.princeton.edu Subject: [ixp1200] Problem running packet transmitting code
Hi everybody, I tried to run the packet transmittng code (Chap 9) from IXP1200 programming book. In function "bridging.c", hashIO_t has structure like:
typedef struct { unsigned int hash_lo32; unsigned int hash_hi16 : 16; unsigned int pad : 16; } hashIO_t; If I compile the code, it gives an error regarding "hash_hi16: 16" field: "error : intrinsic data buffer "hashInput_103$1$0" cannot be read"
But if I remove specifying the number of bits I mean only "unsigned int hash_hi16" it compiles fine, though logically it's not correct.
Any help why it's happenning and how can I solve the problem?
Thanks, Shorfuzzaman.
------------------------------------------------- This mail sent through IMP: http://horde.org/imp/ _______________________________________________ ixp1200 mailing list ixp1200@lists.cs.princeton.edu https://lists.cs.princeton.edu/mailman/listinfo/ixp1200
participants (1)
-
Kunze, Aaron