diff options
author | Luca <deri@ntop.org> | 2018-07-21 16:17:12 +0200 |
---|---|---|
committer | Luca <deri@ntop.org> | 2018-07-21 16:17:12 +0200 |
commit | f828dfc202b23f06e8613a9f6baf8d8b07580760 (patch) | |
tree | c3183f279d5b26ff1859b5e440f29afc1b7ea887 | |
parent | 591158bb9290a06fe96d52d7c0162c853cd90ec6 (diff) |
Added comment about typedefs
-rw-r--r-- | src/include/ndpi_typedefs.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/include/ndpi_typedefs.h b/src/include/ndpi_typedefs.h index be9009e8a..40f35d5d3 100644 --- a/src/include/ndpi_typedefs.h +++ b/src/include/ndpi_typedefs.h @@ -828,6 +828,11 @@ typedef struct _ndpi_automa { } ndpi_automa; typedef struct ndpi_proto { + /* + Note + below we do not use ndpi_protocol_id_t as users can define their own + custom protocols and thus the typedef could be too short in size. + */ u_int16_t master_protocol /* e.g. HTTP */, app_protocol /* e.g. FaceBook */; ndpi_protocol_category_t category; } ndpi_protocol; |