diff options
author | Alexander Couzens <lynxis@fe80.eu> | 2021-01-18 17:55:35 +0100 |
---|---|---|
committer | lynxis lazus <lynxis@fe80.eu> | 2021-03-24 15:42:45 +0000 |
commit | 6cf65d9d81d4c4d8863d06876b292679513d1fc8 (patch) | |
tree | 9abd6b48b1247be58b57f079d0229dd7cf0916ea /include/osmocom/core | |
parent | 2d807b6c7d8ea58ad79e11ed5c66cf43c8b21163 (diff) |
gprs_ns2: rework logging of Rx and Tx NS PDU
Introduce 2 new logging sub systems for signal and unit data.
Unify log messages so all log messages look similiar.
Log also Rx PDUs. Ensure dropped Tx packets (BLOCK/RESET on SNS)
contain *Tx*.
Change-Id: I34b8fde2955ecc010d1dcd9512e1bba9211e2c0d
Diffstat (limited to 'include/osmocom/core')
-rw-r--r-- | include/osmocom/core/logging.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h index 01850c43..343f9761 100644 --- a/include/osmocom/core/logging.h +++ b/include/osmocom/core/logging.h @@ -122,7 +122,9 @@ void logp(int subsys, const char *file, int line, int cont, const char *format, #define DLRSPRO -19 /*!< Osmocom Remote SIM Protocol */ #define DLNS -20 /*!< Osmocom NS layer */ #define DLBSSGP -21 /*!< Osmocom BSSGP layer */ -#define OSMO_NUM_DLIB 21 /*!< Number of logging sub-systems in libraries */ +#define DLNSDATA -22 /*!< Osmocom NS layer data pdus */ +#define DLNSSIGNAL -23 /*!< Osmocom NS layer signal pdus */ +#define OSMO_NUM_DLIB 23 /*!< Number of logging sub-systems in libraries */ /* Colors that can be used in log_info_cat.color */ #define OSMO_LOGCOLOR_NORMAL NULL |