socketcall.h 467 B

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