aboutsummaryrefslogtreecommitdiffstats
path: root/gtp
diff options
context:
space:
mode:
Diffstat (limited to 'gtp')
-rw-r--r--gtp/pdp.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gtp/pdp.h b/gtp/pdp.h
index f8b0df8..106d544 100644
--- a/gtp/pdp.h
+++ b/gtp/pdp.h
@@ -17,6 +17,9 @@
struct gsn_t;
+#define LOGPDPX(ss, level, pdp, fmt, args...) \
+ LOGP(ss, level, "PDP(%s:%u): " fmt, imsi_gtp2str(&(pdp)->imsi), (pdp)->nsapi, ## args)
+
#define PDP_MAX 1024 /* Max number of PDP contexts */
#define PDP_MAXNSAPI 16 /* Max number of NSAPI */