Merge branch 'netinet-in-tcp-netif-cleanup' into 'master'

netinet_in netinet_tcp and net_if header cleanup

See merge request redox-os/relibc!851
This commit is contained in:
Jeremy Soller
2025-12-31 13:27:17 -07:00
3 changed files with 6 additions and 3 deletions
+4 -1
View File
@@ -8,7 +8,10 @@ use alloc::ffi::CString;
use crate::{
c_str::CStr,
platform::{ERRNO, types::*},
platform::{
ERRNO,
types::{c_char, c_int, c_uint},
},
};
use super::errno::ENXIO;
+1 -1
View File
@@ -6,7 +6,7 @@
use crate::{
header::sys_socket::{sa_family_t, sockaddr_storage},
platform::types::*,
platform::types::{c_char, c_int, uint16_t, uint32_t},
};
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/netinet_in.h.html>.
+1 -1
View File
@@ -2,7 +2,7 @@
//!
//! See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/netinet_tcp.h.html>.
use crate::platform::types::*;
use crate::platform::types::c_int;
/// See <https://pubs.opengroup.org/onlinepubs/9799919799/basedefs/netinet_tcp.h.html>.
pub const TCP_NODELAY: c_int = 1;