Retro68/gcc/newlib/libc/sys/linux/sockops.h
2012-03-27 01:51:53 +02:00

28 lines
658 B
C

/* Linux socket syscall subopcodes */
#ifndef _SOCKOPS_H
#define _SOCKOPS_H
#define SOCK_socket 1
#define SOCK_bind 2
#define SOCK_connect 3
#define SOCK_listen 4
#define SOCK_accept 5
#define SOCK_getsockname 6
#define SOCK_getpeername 7
#define SOCK_socketpair 8
#define SOCK_send 9
#define SOCK_recv 10
#define SOCK_sendto 11
#define SOCK_recvfrom 12
#define SOCK_shutdown 13
#define SOCK_setsockopt 14
#define SOCK_getsockopt 15
#define SOCK_sendmsg 16
#define SOCK_recvmsg 17
#endif /* _SOCKOPS_H */