Quote:
Originally posted by Unregistered integer (to payload descriptor)
integer (to TTL)
integer (to HOPS) |
If you plan on using this same struct to create headers from, then each of the above fields should not be declared as integers. They are each only one byte long whereas an integer is 2 bytes long. Declare them as either "char" or "BYTE" (if your compiler supports the latter) instead.