Skip to content
Snippets Groups Projects
Commit 4fcd45a9 authored by roblabla's avatar roblabla
Browse files

Add missing SO_ constants for android

parent ab788510
No related branches found
No related tags found
No related merge requests found
...@@ -486,7 +486,9 @@ pub const SO_SNDBUF: ::c_int = 7; ...@@ -486,7 +486,9 @@ pub const SO_SNDBUF: ::c_int = 7;
pub const SO_RCVBUF: ::c_int = 8; pub const SO_RCVBUF: ::c_int = 8;
pub const SO_KEEPALIVE: ::c_int = 9; pub const SO_KEEPALIVE: ::c_int = 9;
pub const SO_OOBINLINE: ::c_int = 10; pub const SO_OOBINLINE: ::c_int = 10;
pub const SO_PRIORITY: ::c_int = 12;
pub const SO_LINGER: ::c_int = 13; pub const SO_LINGER: ::c_int = 13;
pub const SO_BSDCOMPAT: ::c_int = 14;
pub const SO_REUSEPORT: ::c_int = 15; pub const SO_REUSEPORT: ::c_int = 15;
pub const SO_PASSCRED: ::c_int = 16; pub const SO_PASSCRED: ::c_int = 16;
pub const SO_PEERCRED: ::c_int = 17; pub const SO_PEERCRED: ::c_int = 17;
...@@ -494,8 +496,16 @@ pub const SO_RCVLOWAT: ::c_int = 18; ...@@ -494,8 +496,16 @@ pub const SO_RCVLOWAT: ::c_int = 18;
pub const SO_SNDLOWAT: ::c_int = 19; pub const SO_SNDLOWAT: ::c_int = 19;
pub const SO_RCVTIMEO: ::c_int = 20; pub const SO_RCVTIMEO: ::c_int = 20;
pub const SO_SNDTIMEO: ::c_int = 21; pub const SO_SNDTIMEO: ::c_int = 21;
pub const SO_BINDTODEVICE: ::c_int = 25;
pub const SO_TIMESTAMP: ::c_int = 29;
pub const SO_ACCEPTCONN: ::c_int = 30; pub const SO_ACCEPTCONN: ::c_int = 30;
pub const SO_SNDBUFFORCE: ::c_int = 32; pub const SO_SNDBUFFORCE: ::c_int = 32;
pub const SO_MARK: ::c_int = 36;
pub const SO_PROTOCOL: ::c_int = 38;
pub const SO_DOMAIN: ::c_int = 39;
pub const SO_RXQ_OVFL: ::c_int = 40;
pub const SO_PEEK_OFF: ::c_int = 42;
pub const SO_BUSY_POLL: ::c_int = 46;
pub const O_ACCMODE: ::c_int = 3; pub const O_ACCMODE: ::c_int = 3;
pub const O_APPEND: ::c_int = 1024; pub const O_APPEND: ::c_int = 1024;
......
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