Skip to content

Commit

Permalink
Auto merge of #1970 - KentaTada:add-sockoptions-consts-aarch64, r=Joh…
Browse files Browse the repository at this point in the history
…nTitor

Add constants of socket options on aarch64

Signed-off-by: Kenta Tada <Kenta.Tada@sony.com>
  • Loading branch information
bors committed Nov 24, 2020
2 parents 69a14f7 + 4ecb610 commit f4bd085
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions src/unix/linux_like/linux/gnu/b64/aarch64/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -381,6 +381,25 @@ pub const SO_BPF_EXTENSIONS: ::c_int = 48;
pub const SO_INCOMING_CPU: ::c_int = 49;
pub const SO_ATTACH_BPF: ::c_int = 50;
pub const SO_DETACH_BPF: ::c_int = SO_DETACH_FILTER;
pub const SO_ATTACH_REUSEPORT_CBPF: ::c_int = 51;
pub const SO_ATTACH_REUSEPORT_EBPF: ::c_int = 52;
pub const SO_CNX_ADVICE: ::c_int = 53;
pub const SCM_TIMESTAMPING_OPT_STATS: ::c_int = 54;
pub const SO_MEMINFO: ::c_int = 55;
pub const SO_INCOMING_NAPI_ID: ::c_int = 56;
pub const SO_COOKIE: ::c_int = 57;
pub const SCM_TIMESTAMPING_PKTINFO: ::c_int = 58;
pub const SO_PEERGROUPS: ::c_int = 59;
pub const SO_ZEROCOPY: ::c_int = 60;
pub const SO_TXTIME: ::c_int = 61;
pub const SCM_TXTIME: ::c_int = SO_TXTIME;
pub const SO_BINDTOIFINDEX: ::c_int = 62;
pub const SO_TIMESTAMP_NEW: ::c_int = 63;
pub const SO_TIMESTAMPNS_NEW: ::c_int = 64;
pub const SO_TIMESTAMPING_NEW: ::c_int = 65;
pub const SO_RCVTIMEO_NEW: ::c_int = 66;
pub const SO_SNDTIMEO_NEW: ::c_int = 67;
pub const SO_DETACH_REUSEPORT_BPF: ::c_int = 68;

pub const SOCK_STREAM: ::c_int = 1;
pub const SOCK_DGRAM: ::c_int = 2;
Expand Down

0 comments on commit f4bd085

Please sign in to comment.