Problem running packet transmitting code
20 Apr
2004
20 Apr
'04
8 a.m.
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/
7484
Age (days ago)
7484
Last active (days ago)
0 comments
1 participants
participants (1)
-
Mohammad Shorfuzzaman