1 /* ---- Global Variable ---- */ 2#ifndef _NET_GLOBAL_ 3#define _NET_GLOBAL_ 4 5/* ---------- Global Length Declaration ----------*/ 6#define STR_IPADDR_LEN 15 /* 000.000.000.000 */ 7#define STR_BOOLEAN_LEN 7 /* yes(enable) or no(disable) */ 8 9#define STR_NULL_IP "0.0.0.0" /* empty data */ 10 11#define DO_ENABLE 1 /* integer type */ 12#define DO_DISABLE 0 13#define STR_ENABLE "enable" /* string type */ 14#define STR_DISABLE "disable" 15#define STR_YES "yes" 16#define STR_NO "no" 17 18#endif 19