- unsigned int HeaderLength : 4; /**< Total length of the packet header, in 4-byte blocks */\r
- unsigned int Version : 4; /**< IP protocol version */\r
- unsigned int TypeOfService : 8; /**< Special service type identifier, indicating delay/throughput/reliability levels */\r
- unsigned int TotalLength : 16; /**< Total length of the IP packet, in bytes */\r
+ unsigned char HeaderLength : 4; /**< Total length of the packet header, in 4-byte blocks */\r
+ unsigned char Version : 4; /**< IP protocol version */\r
+ uint8_t TypeOfService; /**< Special service type identifier, indicating delay/throughput/reliability levels */\r
+ uint16_t TotalLength; /**< Total length of the IP packet, in bytes */\r