Remove old bitfield-related code
Switch packet types to be compiled with C++
We don't need C compiler anymore