fix x32 msghdr struct by removing x32 bits/socket.h
[musl.git] / arch / aarch64 / bits / socket.h
blob55337c8be479f127f428ca40c4d9fc1245071f40
1 struct msghdr {
2 void *msg_name;
3 socklen_t msg_namelen;
4 struct iovec *msg_iov;
5 #if __BYTE_ORDER == __BIG_ENDIAN
6 int __pad1, msg_iovlen;
7 #else
8 int msg_iovlen, __pad1;
9 #endif
10 void *msg_control;
11 #if __BYTE_ORDER == __BIG_ENDIAN
12 int __pad2;
13 socklen_t msg_controllen;
14 #else
15 socklen_t msg_controllen;
16 int __pad2;
17 #endif
18 int msg_flags;
21 struct cmsghdr {
22 #if __BYTE_ORDER == __BIG_ENDIAN
23 int __pad1;
24 socklen_t cmsg_len;
25 #else
26 socklen_t cmsg_len;
27 int __pad1;
28 #endif
29 int cmsg_level;
30 int cmsg_type;