| ... | ... | @@ -5625,6 +5625,43 @@ pub const MSG = switch (native_os) { |
| 5625 | 5625 | pub const NOSIGNAL = 0x80; |
| 5626 | 5626 | pub const EOR = 0x100; |
| 5627 | 5627 | }, |
| 5628 | .freebsd => struct { |
| 5629 | pub const OOB = 0x00000001; |
| 5630 | pub const PEEK = 0x00000002; |
| 5631 | pub const DONTROUTE = 0x00000004; |
| 5632 | pub const EOR = 0x00000008; |
| 5633 | pub const TRUNC = 0x00000010; |
| 5634 | pub const CTRUNC = 0x00000020; |
| 5635 | pub const WAITALL = 0x00000040; |
| 5636 | pub const DONTWAIT = 0x00000080; |
| 5637 | pub const EOF = 0x00000100; |
| 5638 | pub const NOTIFICATION = 0x00002000; |
| 5639 | pub const NBIO = 0x00004000; |
| 5640 | pub const COMPAT = 0x00008000; |
| 5641 | pub const SOCALLBCK = 0x00010000; |
| 5642 | pub const NOSIGNAL = 0x00020000; |
| 5643 | pub const CMSG_CLOEXEC = 0x00040000; |
| 5644 | pub const WAITFORONE = 0x00080000; |
| 5645 | pub const MORETOCOME = 0x00100000; |
| 5646 | pub const TLSAPPDATA = 0x00200000; |
| 5647 | }, |
| 5648 | .netbsd => struct { |
| 5649 | pub const OOB = 0x0001; |
| 5650 | pub const PEEK = 0x0002; |
| 5651 | pub const DONTROUTE = 0x0004; |
| 5652 | pub const EOR = 0x0008; |
| 5653 | pub const TRUNC = 0x0010; |
| 5654 | pub const CTRUNC = 0x0020; |
| 5655 | pub const WAITALL = 0x0040; |
| 5656 | pub const DONTWAIT = 0x0080; |
| 5657 | pub const BCAST = 0x0100; |
| 5658 | pub const MCAST = 0x0200; |
| 5659 | pub const NOSIGNAL = 0x0400; |
| 5660 | pub const CMSG_CLOEXEC = 0x0800; |
| 5661 | pub const NBIO = 0x1000; |
| 5662 | pub const WAITFORONE = 0x2000; |
| 5663 | pub const NOTIFICATION = 0x4000; |
| 5664 | }, |
| 5628 | 5665 | else => void, |
| 5629 | 5666 | }; |
| 5630 | 5667 | pub const SOCK = switch (native_os) { |