2016-07-03 18:40:11 +00:00
|
|
|
struct msghdr {
|
2011-02-15 12:32:09 +00:00
|
|
|
void *msg_name;
|
|
|
|
socklen_t msg_namelen;
|
|
|
|
struct iovec *msg_iov;
|
2011-04-08 13:24:19 +00:00
|
|
|
int msg_iovlen, __pad1;
|
2011-02-15 12:32:09 +00:00
|
|
|
void *msg_control;
|
2011-04-08 13:24:19 +00:00
|
|
|
socklen_t msg_controllen, __pad2;
|
2011-02-15 12:32:09 +00:00
|
|
|
int msg_flags;
|
|
|
|
};
|
2012-07-13 01:37:54 +00:00
|
|
|
|
2016-07-03 18:40:11 +00:00
|
|
|
struct cmsghdr {
|
2012-07-13 01:37:54 +00:00
|
|
|
socklen_t cmsg_len;
|
|
|
|
int __pad1;
|
|
|
|
int cmsg_level;
|
|
|
|
int cmsg_type;
|
|
|
|
};
|