unsigned int flow_label:20 GNUNET_PACKED;
#elif __BYTE_ORDER == __BIG_ENDIAN
unsigned int version:4 GNUNET_PACKED;
- unsigned int traffic_class:8 GNUNET_PACKED;
+ unsigned int traffic_class_h:4 GNUNET_PACKED;
+ unsigned int traffic_class_l:4 GNUNET_PACKED;
unsigned int flow_label:20 GNUNET_PACKED;
#endif
/**
const struct in6_addr *dst)
{
GNUNET_assert (payload_length <= UINT16_MAX - sizeof (struct GNUNET_TUN_IPv6Header));
- ip->traffic_class_h = 0;
ip->version = 6;
+ ip->traffic_class_h = 0;
ip->traffic_class_l = 0;
ip->flow_label = 0;
ip->next_header = protocol;