1 #ifndef __CL_ARCH_HEADERS_H__
2 #define __CL_ARCH_HEADERS_H__
9 #include <sys/socket.h>
13 #include <sys/param.h>
17 #include <clVxWorks.h>
18 #elif defined(QNX_BUILD)
22 #define OS_VERSION_CODE 0
24 #define OS_KERNEL_VERSION(x,y,z) 1
26 #define CL_TIPC_PACKET_SIZE 1500
28 #define CL_ENABLE_ASP_TRAFFIC_SHAPING
32 #elif defined SOLARIS_BUILD
34 #include <arpa/inet.h>
35 #include <sys/socket.h>
37 #include <sys/fcntl.h>
46 #define OS_VERSION_CODE 0
47 #define OS_KERNEL_VERSION(x,y,z) 1
49 #define CL_TIPC_PACKET_SIZE 0xFFFF
52 #elif defined __linux__
54 #include <arpa/inet.h>
55 #include <sys/errno.h>
58 #include <sys/fcntl.h>
59 #include <linux/version.h>
66 #define OS_VERSION_CODE LINUX_VERSION_CODE
67 #define OS_KERNEL_VERSION KERNEL_VERSION
69 #define CL_TIPC_PACKET_SIZE 0xFFFF
74 #if !defined __linux__
76 #define CL_NODE_RESET() do { system("reboot"); } while(0)
81 #include <sys/reboot.h>
83 #define CL_NODE_RESET() do { reboot(RB_AUTOBOOT); } while(0)
Generated on Tue Jan 10 10:29:15 PST 2012 for OpenClovis SDK using Doxygen