aboutsummaryrefslogtreecommitdiffstats
path: root/sys/freebsd/socket_inet.txt
Commit message (Collapse)AuthorAgeFilesLines
* sys/freebsd: use nested flag definitions where sensiblePaul Chaignon2023-12-051-1/+1
| | | | | | These flags were identified using the same script as for sys/linux. Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
* sys: consolidate sockopt_opt_{ip,ipv6}_group_source_req flagsPaul Chaignon2023-12-051-2/+2
| | | | | | | | | On the Linux, Darwin, and FreeBSD targets, sockopt_opt_ip_group_source_req and sockopt_opt_ipv6_group_source_req are equal. This commit consolidates those flag definitions to use a single one and renames it to sockopt_opt_group_source_req. Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com>
* sys/freebsd: fix struct sockaddr_storage usageMichael Tuexen2021-04-251-1/+1
| | | | | | | | The size of struct sockaddr_storage is always 128 bytes. So the padding after struct sockaddr_in, which is of size 16, needs to be an array of 14 uint64s. This allows to describe the structures used in the SCTP socket options as unpacked
* sys/freebsd: fix sockaddr structuresMichael Tuexen2019-06-231-1/+2
| | | | FreeBSD uses in sockaddr_{in,in6,un} structures a length field.
* sys: remove socketpair for AF_INET and AF_INET6Michael Tüxen2018-12-041-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * OpebBSD: remove socketpair() for AF_INET and AF_INET6. socketpair() is only supported on AF_UNIX. * NetBSD: remove socketpair() for AF_INET and AF_INET6. socketpair() is only supported for AF_UNIX. * FreeBSD: remove socketpair() for AF_INET and AF_INET6. socketpair() only supports AF_UNIX. * Linux: remove socketpair for AF_INET and AF_INET6. socketpair only supports AF_UNIX. * Autogenerated files. These are manually generated for all platforms you are not running on. FreeBSD in this case. * executor: rebase. * sys/freebsd: rebase. * sys/linux: use AF_UNIX based socketpair for nbd. This was suggested by Dmitry. Fixes #845
* pkg/compiler: check for unused declarationsDmitry Vyukov2018-06-301-14/+0
| | | | | Error on unused structs/unions/resources/flags. Finds tons of bugs.
* sys/linux: add type alias for socket portDmitry Vyukov2018-01-081-1/+1
| | | | | | type sock_port proc[20000, 4, int16be] That was repeated a few times.
* sys/freebsd: more syscall descriptionsDmitry Vyukov2017-10-171-0/+131
This is mostly copied form linux. We probably need better support for sharing descriptions between multiple OSes. But there are lots of differences, so this is not trivial.