This is a bit field declaration in an array. The number post ":" indicates the number of bits to allocate to this particular field of the structure.
Although you need to be careful with bit fields, as their binary representation is not portable. That is, you pass binary blobs between interfaces compiled with different compilers, this may not work.
Rohit j
source share