summaryrefslogtreecommitdiff
path: root/arch/mips64/bits/socket.h
AgeCommit message (Collapse)AuthorLines
2019-11-02move msghdr and cmsghdr out of bits/socket.hRich Felker-32/+0
these structures can now be defined generically in terms of endianness and long size. previously, the 32-bit archs all shared a common definition from the generic bits header, and each 64-bit arch had to repeat the 64-bit version, with endian conditionals if the arch had variants of each endianness. I would prefer getting rid of the preprocessor conditionals for padding and instead using unnamed bitfield members, like commit 9b2921bea1d5017832e1b45d1fd64220047a9802 did for struct timespec. however, at present sendmsg, recvmsg, and recvmmsg need access to the padding members by name to zero them. this could perhaps be cleaned up in the future.
2019-10-17remove indirect use of endian.h from public headersRich Felker-2/+0
building on commit 97d35a552ec5b6ddf7923dd2f9a8eb973526acea, __BYTE_ORDER is now available wherever alltypes.h is included. endian.h should not be used since, in the future, it will expose identifiers that are not in the reserved namespace for the headers which were previously using it.
2018-06-26fix value of SO_PEERSEC on mips archsRich Felker-0/+1
adapted from patch by Matthias Schiffer.
2016-03-06add mips64 portRich Felker-0/+68
patch by Mahesh Bodapati and Jaydeep Patil of Imagination Technologies.