diff options
author | Luca Deri <deri@ntop.org> | 2024-11-17 10:07:29 +0100 |
---|---|---|
committer | Luca Deri <deri@ntop.org> | 2024-11-17 10:07:29 +0100 |
commit | de8c326cd218867b88c25b0e6c0be9e2c909b1e9 (patch) | |
tree | 93a1daea48c420fb990fa0d2340b80b5ec896849 /src/include | |
parent | 35f37c38d983108b55f38f62b7b58582c1909c39 (diff) |
Added ndpi_intoav6()
Implemented Mikrotik JSON serialization
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/ndpi_private.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/ndpi_private.h b/src/include/ndpi_private.h index cb6d31736..a0af2bcac 100644 --- a/src/include/ndpi_private.h +++ b/src/include/ndpi_private.h @@ -621,7 +621,8 @@ u_int ndpi_search_tcp_or_udp_raw(struct ndpi_detection_module_struct *ndpi_struc u_int32_t saddr, u_int32_t daddr); char* ndpi_intoav4(unsigned int addr, char* buf, u_int16_t bufLen); - +char* ndpi_intoav6(struct ndpi_in6_addr *addr, char* buf, u_int16_t bufLen); + int is_flow_addr_informative(const struct ndpi_flow_struct *flow); u_int16_t icmp4_checksum(u_int8_t const * const buf, size_t len); |