- struct {
- unsigned Version: 4;
- unsigned TrafficClass: 8;
- unsigned FlowLabel: 20;
- } __attribute__((packed));
+ union {
+ Uint32 Head; // Allow a ntohl to happen
+ struct {
+ unsigned Version: 4;
+ unsigned TrafficClass: 8;
+ unsigned FlowLabel: 20;
+ } PACKED;
+ } PACKED;