00001 #ifndef HLBR_BNS_H 00002 #define HLBR_BNS_H 00003 00004 #include "../config.h" 00005 #include "../engine/hlbr.h" 00006 #include "route.h" 00007 00008 #define MAX_BNS 1024 00009 00010 /*********************************** 00011 * An IP can be on more than 1 interface 00012 ***********************************/ 00013 typedef struct bns_mac_interface{ 00014 unsigned char Mac[6]; 00015 unsigned char Interface; 00016 } BNS_MAC; 00017 00018 typedef struct bns_mac_ip{ 00019 unsigned int IP; 00020 unsigned char HasProd; 00021 unsigned char ProdMac[6]; 00022 unsigned char HasHoney; 00023 unsigned char HoneyMac[6]; 00024 } BNS_IP; 00025 00026 /*List if IPs that are begin rerouted to the honeypot*/ 00027 NumList* BNSRerouteList; 00028 00029 int InitRouteBNS(); 00030 00031 00032 #endif 00033