Auto merge of #2115 - zonyitoo:master, r=JohnTitor

Add SO_INCOMING_CPU for targets arm-unknown-linux-*

- fixes rust-lang/socket2#213
- ref shadowsocks/shadowsocks-rust#459
This commit is contained in:
bors 2021-03-17 01:29:18 +00:00
commit 801487eca2
2 changed files with 2 additions and 0 deletions

View File

@ -325,6 +325,7 @@ pub const SO_PEERSEC: ::c_int = 31;
pub const SO_SNDBUFFORCE: ::c_int = 32;
pub const SO_RCVBUFFORCE: ::c_int = 33;
pub const SO_PASSSEC: ::c_int = 34;
pub const SO_INCOMING_CPU: ::c_int = 49;
pub const SA_SIGINFO: ::c_int = 0x00000004;
pub const SA_NOCLDWAIT: ::c_int = 0x00000002;

View File

@ -383,6 +383,7 @@ pub const SO_RCVBUFFORCE: ::c_int = 33;
pub const SO_PASSSEC: ::c_int = 34;
pub const SO_PROTOCOL: ::c_int = 38;
pub const SO_DOMAIN: ::c_int = 39;
pub const SO_INCOMING_CPU: ::c_int = 49;
pub const SA_ONSTACK: ::c_int = 0x08000000;
pub const SA_SIGINFO: ::c_int = 0x00000004;