diff options
author | dchagin <dchagin@FreeBSD.org> | 2016-01-09 17:49:05 +0000 |
---|---|---|
committer | dchagin <dchagin@FreeBSD.org> | 2016-01-09 17:49:05 +0000 |
commit | 2e5298109da80b14064d12d4567b82df0bfa46b6 (patch) | |
tree | 5c4f1f0c78909ea30acce1fee5dab1392c2bcf7f /sys/amd64 | |
parent | a803e876743df9520d64fee89d3ec86e0a5d4f17 (diff) | |
download | FreeBSD-src-2e5298109da80b14064d12d4567b82df0bfa46b6.zip FreeBSD-src-2e5298109da80b14064d12d4567b82df0bfa46b6.tar.gz |
MFC r283487:
Reduce duplication between MD Linux code by moving msg related
struct definitions out into the compat/linux/linux_socket.h
Diffstat (limited to 'sys/amd64')
-rw-r--r-- | sys/amd64/linux/linux.h | 16 | ||||
-rw-r--r-- | sys/amd64/linux32/linux.h | 16 |
2 files changed, 0 insertions, 32 deletions
diff --git a/sys/amd64/linux/linux.h b/sys/amd64/linux/linux.h index 29c2525..c4fe9ae 100644 --- a/sys/amd64/linux/linux.h +++ b/sys/amd64/linux/linux.h @@ -447,22 +447,6 @@ struct l_sockaddr { char sa_data[14]; }; -struct l_msghdr { - l_uintptr_t msg_name; - l_int msg_namelen; - l_uintptr_t msg_iov; - l_size_t msg_iovlen; - l_uintptr_t msg_control; - l_size_t msg_controllen; - l_uint msg_flags; -}; - -struct l_cmsghdr { - l_size_t cmsg_len; - l_int cmsg_level; - l_int cmsg_type; -}; - struct l_ifmap { l_ulong mem_start; l_ulong mem_end; diff --git a/sys/amd64/linux32/linux.h b/sys/amd64/linux32/linux.h index 82fe748..e3b9f11 100644 --- a/sys/amd64/linux32/linux.h +++ b/sys/amd64/linux32/linux.h @@ -525,22 +525,6 @@ struct l_sockaddr { char sa_data[14]; } __packed; -struct l_msghdr { - l_uintptr_t msg_name; - l_int msg_namelen; - l_uintptr_t msg_iov; - l_size_t msg_iovlen; - l_uintptr_t msg_control; - l_size_t msg_controllen; - l_uint msg_flags; -}; - -struct l_cmsghdr { - l_size_t cmsg_len; - l_int cmsg_level; - l_int cmsg_type; -}; - struct l_ifmap { l_ulong mem_start; l_ulong mem_end; |