Verifies structure flags are correct by setting the flag in a char buffer and checking the result of the flag.
Verifies structure values are correct by setting the value in a char buffer and checking the values using ntohl/ntohs functions when needed.
Checks the sizes of structures as a compile time assert.
Found the following structures are incorrect due to the fields crossing byte boundaries:
libtrace_8021q_t
libtrace_atm_cell_t
libtrace_atm_nni_cell_t
libtrace_atm_capture_cell_t
libtrace_atm_nni_capture_cell_t
Verifies structure flags are correct by setting the flag in a char buffer and checking the result of the flag. Verifies structure values are correct by setting the value in a char buffer and checking the values using ntohl/ntohs functions when needed. Checks the sizes of structures as a compile time assert.
Found the following structures are incorrect due to the fields crossing byte boundaries: libtrace_8021q_t libtrace_atm_cell_t libtrace_atm_nni_cell_t libtrace_atm_capture_cell_t libtrace_atm_nni_capture_cell_t