1 2#ifndef _MULTISSIDCONTROL_H_ 3#define _MULTISSIDCONTROL_H_ 4 5#ifndef uint16 6#define uint16 unsigned short 7#endif 8#ifndef uint8 9#define uint8 unsigned char 10#endif 11#ifndef uint32 12#define uint32 unsigned int 13#endif 14#ifndef int32 15#define int32 int 16#endif 17#ifndef int8 18#define int8 char 19#endif 20 21#ifndef int16 22#define int16 short 23#endif 24 25#define MS_ACCEPT 0 26#define MS_DROP 1 27 28#define DHCP_SERVER_PORT 67 29#define DHCP_CLIENT_PORT 68 30#define HTTP_PORT 80 31 32#define FTP_PORT1 20 33#define FTP_PORT2 21 34#define SAMBA_PORT1 137 35#define SAMBA_PORT2 138 36#define SAMBA_PORT3 139 37#define SAMBA_PORT4 445 38 39#if defined(AP_MODE) 40#define WAN_IFNAME "eth0" 41#define WL0_GUEST1_IFNAME "wl0.1" 42#define WL0_GUEST2_IFNAME "wl0.2" 43#define WL0_GUEST3_IFNAME "wl0.3" 44#if (defined INCLUDE_DUAL_BAND) 45#define WL1_GUEST1_IFNAME "wl1.1" 46#define WL1_GUEST2_IFNAME "wl1.2" 47#define WL1_GUEST3_IFNAME "wl1.3" 48#endif 49#endif /* AP_MODE */ 50 51typedef struct MulitSsidControlProfile { 52 char IfName[8]; 53 int enable; 54 unsigned int FilterIP; 55#if defined(AP_MODE) 56 int apMode; 57#endif /* AP_MODE */ 58}T_MSsidCtlProfile; 59 60 61#if 0 62#define MultiSsidControlDEBUG(fmt, args...) printk("<0>MultiSsidControlDEBUG: " fmt, ##args) 63#define MultiSsidControlERROR printk("<0>MultiSsidControlERROR: " fmt, ##args) 64#else 65#define MultiSsidControlDEBUG(fmt, args...) 66#define MultiSsidControlERROR 67#endif 68 69 70 71#endif 72