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:
@@ -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;
|
||||
|
||||
@@ -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>.
|
||||
|
||||
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user