Feature/scan ip port together support endpoint object
This commit is contained in:
@@ -42,7 +42,7 @@ long long ip_runtime_ipv6_rule_count(void *ip_runtime);
|
||||
|
||||
/* ip runtime scan API */
|
||||
int ip_runtime_scan(struct ip_runtime *ip_rt, int thread_id, int ip_type,
|
||||
uint8_t *ip_addr, int vtable_id, struct maat_state *state);
|
||||
uint8_t *ip_addr, int port, int vtable_id, struct maat_state *state);
|
||||
|
||||
void ip_runtime_perf_stat(struct ip_runtime *ip_rt, struct timespec *start,
|
||||
struct timespec *end, int thread_id);
|
||||
|
||||
@@ -22,6 +22,7 @@ extern "C"
|
||||
#include "log/log.h"
|
||||
#include "hiredis/hiredis.h"
|
||||
#include "maat_command.h"
|
||||
#include "maat_limits.h"
|
||||
#include "uthash/uthash.h"
|
||||
|
||||
struct foreign_key {
|
||||
|
||||
@@ -126,7 +126,6 @@ struct maat_options {
|
||||
int maat_json_is_gzipped;
|
||||
|
||||
int gc_timeout_ms;
|
||||
int rule_effect_interval_ms;
|
||||
int rule_update_checking_interval_ms;
|
||||
|
||||
enum maat_expr_engine expr_engine;
|
||||
|
||||
@@ -29,7 +29,7 @@ enum table_type {
|
||||
TABLE_TYPE_FLAG_PLUS,
|
||||
TABLE_TYPE_EXPR,
|
||||
TABLE_TYPE_EXPR_PLUS,
|
||||
TABLE_TYPE_IP_PLUS,
|
||||
TABLE_TYPE_IP,
|
||||
TABLE_TYPE_INTERVAL,
|
||||
TABLE_TYPE_INTERVAL_PLUS,
|
||||
TABLE_TYPE_PLUGIN,
|
||||
|
||||
Reference in New Issue
Block a user