1 #ifndef _SOCKETCALL_ 2 #define _SOCKETCALL_ 3 4 #define SYS_SOCKET 1 5 #define SYS_BIND 2 6 #define SYS_CONNECT 3 7 #define SYS_LISTEN 4 8 #define SYS_ACCEPT 5 9 #define SYS_GETSOCKNAME 6 10 #define SYS_GETPEERNAME 7 11 #define SYS_SOCKETPAIR 8 12 #define SYS_SEND 9 13 #define SYS_RECV 10 14 #define SYS_SENDTO 11 15 #define SYS_RECVFROM 12 16 #define SYS_SHUTDOWN 13 17 #define SYS_SETSOCKOPT 14 18 #define SYS_GETSOCKOPT 15 19 20 #endif _SOCKETCALL_