Commit Graph

66 Commits

Author SHA1 Message Date
sourceturner 17b2866d7e fix the inet_pton test of the os-test test suite 2026-06-04 17:33:37 +02:00
auronandace 11769408e5 add descriptions to sys_socket constants and structs 2026-06-03 12:32:28 +01:00
auronandace d2df4c9d69 verify sys_socket header includes 2026-06-01 07:42:51 +01:00
auronandace 84c2bd5ae2 remove sys_types from sys_socket header 2026-05-12 12:03:55 +01:00
auronandace b6ba69febb remove struct export workaround from sys_socket 2026-05-10 08:33:38 +01:00
auronandace e1d26137b4 eliminate export function for struct iovec 2026-05-06 08:57:33 +01:00
auronandace 8cec0c2280 import socklen_t from sys_socket instead of bits 2026-05-03 16:54:46 +01:00
auronandace b0c66cf470 split out sa_family_t to a bits header 2026-04-14 08:44:13 +01:00
auronandace 8945b07415 add include guard for the moved bits 2026-04-13 11:29:13 +01:00
auronandace e8429cdc5e move sys_socket bits from C to cbindgen 2026-04-13 10:18:40 +01:00
auronandace 121ee8edb0 remove ucred from sys_socket bits 2026-04-09 09:59:24 +01:00
auronandace 5d22f7096b split out iovec from sys_uio header 2026-03-31 11:03:41 +01:00
auronandace e9b9e1e28b fix trailer 2026-03-11 13:02:18 +00:00
auronandace ae91f48fae remove duplicate socklen_t definition 2026-03-11 12:42:53 +00:00
auronandace 6f1e16c0a6 sys_socket and termios header cleanup 2026-02-28 17:19:29 +00:00
Ibuki.O 5e61f17a3a feat: Implement MSG_CMSG_CLOEXEC handling to recvmsg 2026-02-08 12:09:08 +09:00
auronandace 46edf9ba65 sys_socket and netdb header cleanup 2026-02-02 09:43:33 +00:00
sourceturner defd2ce7c3 Deny deny-unsafe_op_in_unsafe_fn on the crate level 2026-01-21 00:41:57 +01:00
sourceturner ee765594a3 Use unsafe blocks in sys/socket.h implementation 2026-01-18 21:16:57 +01:00
auronandace 1e27ad561f only import needed types in sys_socket and sys_stat 2025-12-03 14:16:19 +00:00
auronandace cae30932b3 update and add spec links in sys_socket and sys_stat 2025-12-03 14:06:55 +00:00
4lDO2 3ad0420b85 Add derive macro to check types vs libc crate. 2025-11-08 17:30:34 +01:00
Jeremy Soller 16814d2e32 Fix socklen_t type 2025-11-07 18:10:17 -07:00
Jeremy Soller 82084440ad Support nightly-2025-10-03 2025-10-03 21:51:10 -06:00
Ibuki Omatsu 206239f9a2 feat: Implement Unix Domain Socket and related features. 2025-07-17 22:48:37 -06:00
Jeremy Soller 1e48b13948 Debug recvmsg on redox 2025-05-04 09:32:10 -06:00
Jeremy Soller bce8eac3c7 Move CMSG functions to C macros 2025-05-03 11:21:27 -06:00
Jeremy Soller 27f3924126 Fix msg_controllen and cmsg_len types 2025-04-10 14:52:26 -06:00
Josh Megnauth 6295ce73ea Impl sockaddr_storage, structs in netinet.h 2024-12-03 21:45:47 +00:00
Dorian Davi efcbbb8592 Add C code necessary for libuv to work 2024-10-24 16:58:52 +00:00
4lDO2 d474163e0e Switch to Rusty error handling in PalSocket. 2024-09-27 15:35:01 +02:00
4lDO2 c0e7af5289 Backwards-compatibly rewrite getdents to use special syscall. 2024-09-11 23:32:19 +02:00
Jeremy Soller a7b2294b62 Add more networking constants 2024-02-03 13:17:40 -07:00
Jeremy Soller f708800898 Add struct user for linger 2024-02-02 15:35:08 -07:00
Jeremy Soller 9b2b9e6c26 Add struct linger 2024-02-02 15:30:51 -07:00
Jeremy Soller d4b0e172f0 Add recvmsg (stub on redox) 2024-01-16 19:47:39 -07:00
Jeremy Soller 88da47a690 Fix incorrect reference to iovec in sys/socket.h 2024-01-12 15:44:02 -07:00
Jeremy Soller 52612784b6 Add sendmsg stub 2024-01-12 15:36:01 -07:00
David Carlier 66fdebc0cb adding SOCK_RDM and a couple of POLL* constants.
close #164
2023-03-26 08:11:50 +01:00
Jeremy Soller 2f271268af Add MSG_DONTWAIT 2022-08-01 10:09:31 -06:00
jD91mZM2 aeab6a986d Fix a few GDB compilation issues 2019-08-12 09:30:05 +02:00
jD91mZM2 b8c50c7c64 Format 2019-08-04 19:05:45 +02:00
jD91mZM2 c7d499d4f2 Upgrade to the 2018 edition
I didn't think it'd be this useful first, but thank god for `cargo fix --edition`!
2019-08-04 19:05:45 +02:00
Mateusz Mikuła 63a1319e50 Cbindgen update 2019-07-10 10:08:39 +00:00
Jeremy Soller cfc541019c Add socketpair on Linux with stub on Redox 2019-04-28 19:12:54 -06:00
Jeremy Soller c59f268fcd Implement getaddrinfo (somewhat) 2019-01-21 20:36:56 -07:00
Jeremy Soller 7ac3dfaa49 Implement sys_uio, define sockaddr_storage 2019-01-05 13:10:20 -07:00
Jeremy Soller 7aa789575a Add shutdown, listen, and getpagesize 2018-12-26 19:26:38 -07:00
Jeremy Soller 52fd4d7e83 Clippy fixes 2018-12-02 08:04:53 -07:00
Jeremy Soller 950b4526c7 - Disable output of empty header files
- Remove incorrect header styles
- Use export.replace where header style was previously needed
- Check compilation of tests using system gcc
2018-11-26 21:35:02 -07:00