[link|http://www.cs.cf.ac.uk/Dave/C/node13.html|http://www.cs.cf.ac....ave/C/node13.html]
\nstruct packed_struct {\n\t\t unsigned int f1:1;\n\t\t unsigned int f2:1;\n\t\t unsigned int f3:1;\n\t\t unsigned int f4:1;\n\t\t unsigned int type:4;\n\t\t unsigned int funny_int:9;\n} pack;

Here the packed_struct contains 6 members: Four 1 bit flags f1..f3, a 4 bit type and a 9 bit funny_int.