Skip to content

Commit f18c583

Browse files
committed
Auto merge of #1951 - KentaTada:add-sockoptions-consts, r=JohnTitor
Add constants of socket options Signed-off-by: Kenta Tada <[email protected]>
2 parents 73b6ef1 + 1f97fa1 commit f18c583

File tree

1 file changed

+19
-0
lines changed
  • src/unix/linux_like/linux/gnu/b64/x86_64

1 file changed

+19
-0
lines changed

src/unix/linux_like/linux/gnu/b64/x86_64/mod.rs

+19
Original file line numberDiff line numberDiff line change
@@ -569,6 +569,25 @@ pub const SO_BPF_EXTENSIONS: ::c_int = 48;
569569
pub const SO_INCOMING_CPU: ::c_int = 49;
570570
pub const SO_ATTACH_BPF: ::c_int = 50;
571571
pub const SO_DETACH_BPF: ::c_int = SO_DETACH_FILTER;
572+
pub const SO_ATTACH_REUSEPORT_CBPF: ::c_int = 51;
573+
pub const SO_ATTACH_REUSEPORT_EBPF: ::c_int = 52;
574+
pub const SO_CNX_ADVICE: ::c_int = 53;
575+
pub const SCM_TIMESTAMPING_OPT_STATS: ::c_int = 54;
576+
pub const SO_MEMINFO: ::c_int = 55;
577+
pub const SO_INCOMING_NAPI_ID: ::c_int = 56;
578+
pub const SO_COOKIE: ::c_int = 57;
579+
pub const SCM_TIMESTAMPING_PKTINFO: ::c_int = 58;
580+
pub const SO_PEERGROUPS: ::c_int = 59;
581+
pub const SO_ZEROCOPY: ::c_int = 60;
582+
pub const SO_TXTIME: ::c_int = 61;
583+
pub const SCM_TXTIME: ::c_int = SO_TXTIME;
584+
pub const SO_BINDTOIFINDEX: ::c_int = 62;
585+
pub const SO_TIMESTAMP_NEW: ::c_int = 63;
586+
pub const SO_TIMESTAMPNS_NEW: ::c_int = 64;
587+
pub const SO_TIMESTAMPING_NEW: ::c_int = 65;
588+
pub const SO_RCVTIMEO_NEW: ::c_int = 66;
589+
pub const SO_SNDTIMEO_NEW: ::c_int = 67;
590+
pub const SO_DETACH_REUSEPORT_BPF: ::c_int = 68;
572591

573592
pub const SOCK_STREAM: ::c_int = 1;
574593
pub const SOCK_DGRAM: ::c_int = 2;

0 commit comments

Comments
 (0)