import vanilla x86_64 code as x32

This commit is contained in:
rofl0r 2014-01-07 22:43:34 +01:00
commit 323272db17
75 changed files with 2677 additions and 0 deletions

18
arch/x32/bits/socket.h Normal file
View file

@ -0,0 +1,18 @@
struct msghdr
{
void *msg_name;
socklen_t msg_namelen;
struct iovec *msg_iov;
int msg_iovlen, __pad1;
void *msg_control;
socklen_t msg_controllen, __pad2;
int msg_flags;
};
struct cmsghdr
{
socklen_t cmsg_len;
int __pad1;
int cmsg_level;
int cmsg_type;
};