summaryrefslogtreecommitdiff
path: root/common/include/tfe_scan.h
blob: c36230f1a77e997fd00794231126dfb605e435cc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
#pragma once

#include <tfe_stream.h>
#define MAX_SCAN_RESULT 16

int tfe_scan_subscribe_id(const struct tfe_stream *stream, struct Maat_rule_t *result, scan_status_t *scan_mid,
                          int hit_cnt, unsigned int thread_id, void *logger);
int tfe_scan_ip_asn(const struct tfe_stream *stream, struct Maat_rule_t *result, scan_status_t *scan_mid,
                    int hit_cnt, unsigned int thread_id, void *logger, char **asn_server, char **asn_client);
int tfe_scan_ip_location(const struct tfe_stream *stream, struct Maat_rule_t *result, scan_status_t *scan_mid,
                         int hit_cnt, unsigned int thread_id, void *logger, char **location_server, char **location_client);
int tfe_scan_fqdn_cat(const struct tfe_stream *stream, struct Maat_rule_t *result, scan_status_t *scan_mid,
                      int hit_cnt, unsigned int thread_id, void *logger, int table_id);