From c49d126d3642d5b1f5168d049e3ebf0ee3451edc Mon Sep 17 00:00:00 2001 From: Leonardo Teixeira Alves <49043232+LTxAlves@users.noreply.github.com> Date: Thu, 6 Mar 2025 10:47:17 -0300 Subject: Add Autonomous System Organization to geoip (#2763) Co-authored-by: Leonardo Teixeira Alves --- src/include/ndpi_api.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/include/ndpi_api.h') diff --git a/src/include/ndpi_api.h b/src/include/ndpi_api.h index 3772be89e..0a85e812a 100644 --- a/src/include/ndpi_api.h +++ b/src/include/ndpi_api.h @@ -2087,6 +2087,8 @@ extern "C" { void ndpi_free_geoip(struct ndpi_detection_module_struct *ndpi_str); int ndpi_get_geoip_asn(struct ndpi_detection_module_struct *ndpi_str, char *ip, u_int32_t *asn); + int ndpi_get_geoip_aso(struct ndpi_detection_module_struct *ndpi_str, + char *ip, char *aso, u_int8_t aso_len); int ndpi_get_geoip_country_continent(struct ndpi_detection_module_struct *ndpi_str, char *ip, char *country_code, u_int8_t country_code_len, char *continent, u_int8_t continent_len); -- cgit v1.2.3