add blacklist_lookup_index proto
This commit is contained in:
parent
8ecbd038b5
commit
408e46d939
@ -3,6 +3,7 @@
|
|||||||
#ifndef _BLACKLIST_H
|
#ifndef _BLACKLIST_H
|
||||||
#define _BLACKLIST_H
|
#define _BLACKLIST_H
|
||||||
|
|
||||||
|
uint32_t blacklist_lookup_index(uint64_t index);
|
||||||
int blacklist_is_allowed(uint32_t s_addr);
|
int blacklist_is_allowed(uint32_t s_addr);
|
||||||
void blacklist_prefix(char *ip, int prefix_len);
|
void blacklist_prefix(char *ip, int prefix_len);
|
||||||
void whitelist_prefix(char *ip, int prefix_len);
|
void whitelist_prefix(char *ip, int prefix_len);
|
||||||
|
Loading…
Reference in New Issue
Block a user