linux(4): For future use move SCM definitions below socket options
MFC after: 2 weeks
This commit is contained in:
parent
db48fa8319
commit
f409a7c538
@ -53,12 +53,6 @@
|
||||
#define LINUX_MSG_WAITFORONE 0x10000
|
||||
#define LINUX_MSG_CMSG_CLOEXEC 0x40000000
|
||||
|
||||
/* Socket-level control message types */
|
||||
|
||||
#define LINUX_SCM_RIGHTS 0x01
|
||||
#define LINUX_SCM_CREDENTIALS 0x02
|
||||
#define LINUX_SCM_TIMESTAMP 0x1D
|
||||
|
||||
struct l_msghdr {
|
||||
l_uintptr_t msg_name;
|
||||
l_int msg_namelen;
|
||||
@ -202,6 +196,12 @@ int linux_accept(struct thread *td, struct linux_accept_args *args);
|
||||
#define LINUX_SO_DOMAIN 39
|
||||
#define LINUX_SO_PEERGROUPS 59
|
||||
|
||||
/* Socket-level control message types */
|
||||
|
||||
#define LINUX_SCM_RIGHTS 0x01
|
||||
#define LINUX_SCM_CREDENTIALS 0x02
|
||||
#define LINUX_SCM_TIMESTAMP LINUX_SO_TIMESTAMP
|
||||
|
||||
/* Socket options */
|
||||
#define LINUX_IP_TOS 1
|
||||
#define LINUX_IP_TTL 2
|
||||
|
Loading…
x
Reference in New Issue
Block a user