aboutsummaryrefslogtreecommitdiffstats
path: root/sys/linux/socket_unix.txt
Commit message (Collapse)AuthorAgeFilesLines
* sys/linux: update unix socket syscall descriptionsChristian Resell2021-07-291-4/+26
| | | | | | | Add recvmsg$unix() and recvmmsg$unix(). Update sendmmsg$unix to use the correct type, the old description was using an array of struct msghdr instead of struct mmsghdr. Set addr field of msghdr structs to optional.
* sys/linux: support new split sound ioctlsDmitry Vyukov2019-12-181-1/+2
| | | | | | Some sounds ioctls are now explicitly doubled for 32/64 bits. Support that. Fix mips SOL_SOCKET issues by rearranging includes. Improve few other fields.
* sys/linux: update descriptions of sendmsg/sendmmsgKaipeng Zeng2019-05-101-14/+4
| | | | Fix the descriptions of cmsghdr. Add sendmsg$sock and sendmmsg$sock for __sock_cmsg_send.
* pkg/compiler: support non-zero terminated filenamesDmitry Vyukov2018-04-021-1/+1
| | | | | | | | | | | | | | | Now file names become: string[filename] with a possibility of using other string features: stringnoz[filename] string[filename, CONST_SIZE] and filename is left as type alias as it is commonly used: type filename string[filename]
* sys/linux: use size attributes on structsDmitry Vyukov2018-03-051-3/+4
| | | | | | | | | | | 1. Add size attribte on sockaddr. 2. Remove sockaddr's that are larger than 16 bytes from sockaddr. 3. Add size attribute on sockaddr_storage which wasn't actually 128 bytes. 4. Add size attribute to ifreq. 5. Fix ifmap field types as uncovered by the size attributes. 6. Fix sockaddr_storage_tcp from struct to union which is should be. 7. Make sockaddr_un_file fixed size as it should be. 8. Fix some explicit paddings that were only correct for 64 bits.
* sys/linux: remove proc type from network descriptionsDmitry Vyukov2018-02-261-1/+1
| | | | | | | | | | We now always create net namespace for testing, so socket ports and other IDs do not overlap between different test processes. Proc types play badly with squashing packets to ANYBLOB. To squash into a block we need concrete value, but it depends on process id. Removing proc also makes tun setup and address descriptions simpler.
* sys/linux: fix control len in msghdr'sDmitry Vyukov2017-11-271-1/+1
| | | | Contol len is in bytes, not array elements.
* sys: move linux descriptions to sys/linuxDmitry Vyukov2017-09-151-0/+78