diff options
| author | lijie <[email protected]> | 2019-01-24 16:32:52 +0800 |
|---|---|---|
| committer | lijie <[email protected]> | 2019-01-24 16:32:52 +0800 |
| commit | 3cf8232a9b37ea7eed5158a634a23e4cf1c556f1 (patch) | |
| tree | cb9cd1d0512ad72d4fa2c3be66058dd079a1bcad /include | |
| parent | 75f6f2e2237a9e1254d3d14f945ddba7c8dc5b81 (diff) | |
Diffstat (limited to 'include')
| -rw-r--r-- | include/mrl_utils.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/mrl_utils.h b/include/mrl_utils.h index 56d2759..794221c 100644 --- a/include/mrl_utils.h +++ b/include/mrl_utils.h @@ -56,6 +56,7 @@ #define MRL_CLOSED_LOCATION -1
#define MRL_INSIDE_LOCATION 0
#define MRL_OUTSIDE_LOCATION 1
+#define MRL_UNDEFINED_LOCATION 2
#define MRL_COUNTRY_LEVEL 0
#define MRL_PROVINCE_LEVEL 1
@@ -107,6 +108,6 @@ int mrl_get_pkt_tuple(const char *raw_packet, struct mrl_tuple *five_tuple); void mrl_mmdb_init(const char *path);
-int mrl_is_inside_ip(const char *ip_addr);
+int mrl_is_outside_ip(const char *ip_addr);
#endif
|
