diff options
Diffstat (limited to 'tollgate_core/src/tollgate_firewall.h')
| -rw-r--r-- | tollgate_core/src/tollgate_firewall.h | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/tollgate_core/src/tollgate_firewall.h b/tollgate_core/src/tollgate_firewall.h deleted file mode 100644 index 7df8a45..0000000 --- a/tollgate_core/src/tollgate_firewall.h +++ /dev/null | |||
| @@ -1,21 +0,0 @@ | |||
| 1 | #ifndef TOLLGATE_CORE_FIREWALL_H | ||
| 2 | #define TOLLGATE_CORE_FIREWALL_H | ||
| 3 | |||
| 4 | #include <stdint.h> | ||
| 5 | #include <stdbool.h> | ||
| 6 | |||
| 7 | #define TG_FW_MAX_MAC_LEN 18 | ||
| 8 | |||
| 9 | int tg_firewall_init(uint32_t ap_ip); | ||
| 10 | void tg_firewall_grant(uint32_t client_ip); | ||
| 11 | void tg_firewall_revoke(uint32_t client_ip); | ||
| 12 | int tg_firewall_revoke_all(void); | ||
| 13 | bool tg_firewall_is_allowed(uint32_t client_ip); | ||
| 14 | bool tg_firewall_is_mac_allowed(const char *mac); | ||
| 15 | int tg_firewall_client_count(void); | ||
| 16 | int tg_firewall_get_mac_for_ip(uint32_t client_ip, char *mac_out, int mac_out_size); | ||
| 17 | void tg_firewall_set_mining_port(uint16_t port); | ||
| 18 | void tg_firewall_set_sandbox_mint_access(bool enable); | ||
| 19 | int tg_firewall_filter_packet(const uint8_t *payload, int payload_len); | ||
| 20 | |||
| 21 | #endif | ||