Changeset 295 for trunk/include
- Timestamp:
- Oct 31, 2010, 10:36:04 AM (14 years ago)
- Location:
- trunk/include
- Files:
-
- 1 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/samhain.h
r283 r295 34 34 **************************************************/ 35 35 36 /* IPv6 */ 37 #if defined(HAVE_GETNAMEINFO) && defined(HAVE_GETADDRINFO) 38 39 #if defined(SH_COMPILE_STATIC) && defined(__linux__) 40 #undef USE_IPVX 41 #define SH_SOCKMAX 1 42 #else 43 44 #if defined(USE_IPV4) 45 #undef USE_IPVX 46 #else 47 #define USE_IPVX 1 48 #endif 49 50 #define SH_SOCKMAX 8 51 #endif 52 53 #else 54 #undef USE_IPVX 55 #define SH_SOCKMAX 1 56 #endif 57 58 /* end IPv6 */ 59 36 60 #define REPLACE_OLD 37 61 … … 39 63 * IPv6 is 8 groups of 4 hex digits seperated by colons. 40 64 */ 41 #define SH_IP_BUF 4 065 #define SH_IP_BUF 48 42 66 #define SH_MINIBUF 64 43 67 #define SH_BUFSIZE 1024 -
trunk/include/sh_calls.h
r170 r295 35 35 int sh_aud_set_functions(const char * str_s); 36 36 37 #ifdef SH_IPVX_H 38 long int retry_accept(const char * file, int line, 39 int fd, struct sh_sockaddr *serv_addr, int * addrlen); 40 #endif 37 41 38 long int retry_accept(const char * file, int line,39 int fd, struct sockaddr *serv_addr, int * addrlen);40 42 long int retry_stat (const char * file, int line, 41 43 const char *file_name, struct stat *buf); -
trunk/include/sh_tools.h
r197 r295 28 28 */ 29 29 char * sh_tools_safe_name(const char * str, int flag); 30 int is_numeric (const char * address); 30 31 31 int connect_port (char * address, int port, 32 32 char * ecall, int * errnum, char * errmsg, int errsiz);
Note:
See TracChangeset
for help on using the changeset viewer.