diff options
author | Alfredo Cardigliano <alfredo.cardigliano@gmail.com> | 2017-10-26 23:23:29 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-10-26 23:23:29 +0200 |
commit | 7e38a4f79036982ee23c9d93866b07833c56d336 (patch) | |
tree | bee81dd2dd80249df97ddd374f1b49fa8a92bf48 /README.md | |
parent | 4f72b954da705f8d54a9dd61eae46b2b36b24dc0 (diff) |
Update README.md
Diffstat (limited to 'README.md')
-rw-r--r-- | README.md | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -29,7 +29,7 @@ The entire procedure of adding new protocols in detail: 1. Add new protocol together with its unique ID to: src/include/ndpi_protocol_ids.h 2. Create a new protocol in: src/lib/protocols/ -3. Variables to be kept for the duration of the entire flow (as state variables) needs to be placed in: /include/ndpi_structs.h in ndpi_flow_tcp_struct (for TCP only), ndpi_flow_udp_struct (for UDP only), or ndpi_flow_struct (for both). +3. Variables to be kept for the duration of the entire flow (as state variables) need to be placed in: src/include/ndpi_typedefs.h in ndpi_flow_tcp_struct (for TCP only), ndpi_flow_udp_struct (for UDP only), or ndpi_flow_struct (for both). 4. Add a new entry for the search function for the new protocol in: src/include/ndpi_protocols.h 5. Choose (do not change anything) a selection bitmask from: src/include/ndpi_define.h 6. Add a new entry in ndpi_set_protocol_detection_bitmask2 in: src/lib/ndpi_main.c |