Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
oai
openairinterface5G
Commits
ec7ac822
Commit
ec7ac822
authored
Dec 12, 2013
by
winckel
Browse files
Completed LOG_DUMP.
git-svn-id:
http://svn.eurecom.fr/openair4G/trunk@4685
818b1a75-f10b-46b9-bf7c-635c3b92a50f
parent
f3f98660
Changes
1
Hide whitespace changes
Inline
Side-by-side
openair-cn/NAS/EURECOM-NAS/src/util/nas_log.h
View file @
ec7ac822
...
...
@@ -89,7 +89,14 @@ do { \
} \
} while (0)
# define LOG_DUMP(a, b) LOG_D(NAS, " Dump %d\n", b)
# define LOG_DUMP(dATA, lEN) \
do { \
char buffer[3*lEN + 1]; \
int i; \
for (i = 0; i < lEN; i++) \
sprintf (&buffer[3*i], "%02x ", dATA[i]); \
LOG_D(NAS, " Dump %d: %s\n", lEN, buffer); \
} while (0)
# define LOG_FUNC_IN \
do { \
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment