aboutsummaryrefslogtreecommitdiff
path: root/newlib/libc/sys/linux/sockops.h
blob: 7a421f26d6061a9e32287c184325397fca397140 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* 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 */