aboutsummaryrefslogtreecommitdiff
path: root/src/include/ndpi_api.h
diff options
context:
space:
mode:
authorLeonardo Teixeira Alves <49043232+LTxAlves@users.noreply.github.com>2025-03-06 10:47:17 -0300
committerGitHub <noreply@github.com>2025-03-06 14:47:17 +0100
commitc49d126d3642d5b1f5168d049e3ebf0ee3451edc (patch)
treefa8002b3892087c05c739b6354c877fe0248d0df /src/include/ndpi_api.h
parentf56831336334dddcff00eaf2132e5e0f226f0e32 (diff)
Add Autonomous System Organization to geoip (#2763)
Co-authored-by: Leonardo Teixeira Alves <leonardo.alves@zerum.com>
Diffstat (limited to 'src/include/ndpi_api.h')
-rw-r--r--src/include/ndpi_api.h2
1 files changed, 2 insertions, 0 deletions
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);