2020-08-10 18:13:44 +08:00
|
|
|
#pragma once
|
|
|
|
|
|
|
|
|
|
#include <tfe_stream.h>
|
|
|
|
|
#define MAX_SCAN_RESULT 16
|
|
|
|
|
|
2023-03-30 19:39:18 +08:00
|
|
|
int tfe_scan_subscribe_id(const struct tfe_stream *stream, long long *result, struct maat_state *scan_mid,
|
|
|
|
|
int hit_cnt, void *logger);
|
|
|
|
|
int tfe_scan_ip_asn(const struct tfe_stream *stream, long long *result, struct maat_state *scan_mid,
|
|
|
|
|
int hit_cnt, void *logger, char **asn_server, char **asn_client);
|
|
|
|
|
int tfe_scan_ip_location(const struct tfe_stream *stream, long long *result, struct maat_state *scan_mid,
|
|
|
|
|
int hit_cnt, void *logger, char **location_server, char **location_client);
|
|
|
|
|
int tfe_scan_fqdn_cat(const struct tfe_stream *stream, long long *result, struct maat_state *scan_mid,
|
|
|
|
|
int hit_cnt, void *logger, int table_id);
|
2023-12-14 15:08:19 +08:00
|
|
|
int tfe_scan_app_id(long long *result, struct maat_state *scan_mid, int hit_cnt, int app_id, int table_id);
|
|
|
|
|
int tfe_scan_ipv4_addr(long long *result, struct maat_state *scan_mid, int hit_cnt, struct ipaddr sapp_addr);
|
|
|
|
|
int tfe_scan_ipv6_addr(long long *result, struct maat_state *scan_mid, int hit_cnt, struct ipaddr sapp_addr);
|
|
|
|
|
int tfe_scan_ipv4_internal_addr(const struct tfe_stream *stream, long long *result, struct maat_state *scan_mid,
|
|
|
|
|
int hit_cnt, struct ipaddr sapp_addr);
|
|
|
|
|
int tfe_scan_ipv6_internal_addr(const struct tfe_stream *stream, long long *result, struct maat_state *scan_mid,
|
|
|
|
|
int hit_cnt, struct ipaddr sapp_addr);
|