commit | baa225ed867fa7357ad05b35b90c9ecb7192f189 | [log] [tgz] |
---|---|---|
author | Jacob Erlbeck <jerlbeck@sysmocom.de> | Fri Feb 28 15:14:40 2014 +0100 |
committer | Jacob Erlbeck <jerlbeck@sysmocom.de> | Tue Mar 04 13:30:12 2014 +0100 |
tree | c314c21f96ee6490fb4d3a9063e72eb81dca50c3 | |
parent | 10f0bdecad8d711ccc5fcc04bb0be0adf11a7902 [diff] |
msgb: Add msgb_hexdump() function This function works like osmo_hexdump() and returns a static buffer containing hex bytes along with markers for the layers. Note that it uses osmo_hexdump() internally, thus a call to msgb_hexdump() invalidates the buffer that has been returned by an earlier call to osmo_hexdump(). In short: don't mix them in a single call printf(). Sponsored-by: On-Waves ehf