Skip to content
Snippets Groups Projects
Commit 5400c6e6 authored by leo60228's avatar leo60228
Browse files

Add more FreeBSD TCP_ constants

parent 75df0e19
No related branches found
No related tags found
No related merge requests found
...@@ -520,6 +520,11 @@ pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast ...@@ -520,6 +520,11 @@ pub const IFF_MULTICAST: ::c_int = 0x8000; // supports multicast
pub const TCP_NODELAY: ::c_int = 8193; pub const TCP_NODELAY: ::c_int = 8193;
pub const TCP_MAXSEG: ::c_int = 8194; pub const TCP_MAXSEG: ::c_int = 8194;
pub const TCP_NOPUSH: ::c_int = 4;
pub const TCP_NOOPT: ::c_int = 8;
pub const TCP_KEEPIDLE: ::c_int = 256;
pub const TCP_KEEPINTVL: ::c_int = 512;
pub const TCP_KEEPCNT: ::c_int = 1024;
pub const IP_TOS: ::c_int = 3; pub const IP_TOS: ::c_int = 3;
pub const IP_TTL: ::c_int = 8; pub const IP_TTL: ::c_int = 8;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment