RTEMS CPU Kit with SuperCore
res_config.h
Go to the documentation of this file.
1 #define DEBUG 1 /* enable debugging code (needed for dig) */
2 #define RESOLVSORT /* allow sorting of addresses in gethostbyname */
3 #define RFC1535 /* comply with RFC1535 (STRONGLY reccomended by vixie)*/
4 #undef USELOOPBACK /* res_init() bind to localhost */
5 #undef SUNSECURITY /* verify gethostbyaddr() calls - WE DONT NEED IT */
6 #define MULTI_PTRS_ARE_ALIASES 1 /* fold multiple PTR records into aliases */
7 #define CHECK_SRVR_ADDR 1 /* confirm that the server requested sent the reply */
8 #define BIND_UPDATE 1 /* update support */
9 
10 #if defined(__rtems__)
11 u_int16_t _getshort(const u_char *src);
12 u_int32_t _getlong(const u_char *src);
13 int gethostname (char *name, size_t namelen);
14 int sethostname (const char *name, size_t namelen);
15 int issetugid (void);
16 #endif