summaryrefslogtreecommitdiff
path: root/udp.h
diff options
context:
space:
mode:
authoritojun <itojun>2000-10-03 02:26:53 +0000
committeritojun <itojun>2000-10-03 02:26:53 +0000
commitcdaba7de64aab0672383804b7c80cc3678936b4f (patch)
tree87eef044efc6232e7dd7c6a55b745ebdda452d06 /udp.h
parent64b4695379923685260c4d6fe6a1034878d94e84 (diff)
downloadtcpdump-cdaba7de64aab0672383804b7c80cc3678936b4f.tar.gz
do not use integer bitfield when we care about the resulting member size.
u_int x:4, y:4; will occupy sizeof(int) on some platforms, while it occupy 1 byte on some platforms. use macro to decode th_off.
Diffstat (limited to 'udp.h')
0 files changed, 0 insertions, 0 deletions