]> The Tcpdump Group git mirrors - tcpdump/commit
Fetch RTP option and extension data using EXTRACT_32BITS().
authorGuy Harris <[email protected]>
Sat, 14 Jan 2017 20:05:33 +0000 (12:05 -0800)
committerGuy Harris <[email protected]>
Sat, 14 Jan 2017 20:05:33 +0000 (12:05 -0800)
commitb28755be12df6617ed406c37e00fe806be5d726a
tree5857674cf3f4822fa4a943c4aa4c0f5175b25861
parent6d28d4f42630c8645a4314db520bf5efdb6bcfe8
Fetch RTP option and extension data using EXTRACT_32BITS().

Do not assume that you're on a big-endian processor that can dereference
unaligned pointers - all the world's not a m68k.  :-) Most of the world
is little-endian these days by CPU count (especially on personal
computers), and one of the popular big-endian processor families, SPARC,
traps when dereferencing unaligned pointers.

While we're at it, note the last I-D that described RTPv1 and the
current RFC for RTPv2.
print-udp.c