1 // arch/sparc/include/uapi/asm/socket.h 2 pub const SOL_SOCKET: ::c_int = 0xffff; 3 4 // Defined in unix/linux_like/mod.rs 5 // pub const SO_DEBUG: ::c_int = 0x0001; 6 pub const SO_PASSCRED: ::c_int = 0x0002; 7 pub const SO_REUSEADDR: ::c_int = 0x0004; 8 pub const SO_KEEPALIVE: ::c_int = 0x0008; 9 pub const SO_DONTROUTE: ::c_int = 0x0010; 10 pub const SO_BROADCAST: ::c_int = 0x0020; 11 pub const SO_PEERCRED: ::c_int = 0x0040; 12 pub const SO_LINGER: ::c_int = 0x0080; 13 pub const SO_OOBINLINE: ::c_int = 0x0100; 14 pub const SO_REUSEPORT: ::c_int = 0x0200; 15 pub const SO_BSDCOMPAT: ::c_int = 0x0400; 16 pub const SO_RCVLOWAT: ::c_int = 0x0800; 17 pub const SO_SNDLOWAT: ::c_int = 0x1000; 18 pub const SO_RCVTIMEO: ::c_int = 0x2000; 19 pub const SO_SNDTIMEO: ::c_int = 0x4000; 20 // pub const SO_RCVTIMEO_OLD: ::c_int = 0x2000; 21 // pub const SO_SNDTIMEO_OLD: ::c_int = 0x4000; 22 pub const SO_ACCEPTCONN: ::c_int = 0x8000; 23 pub const SO_SNDBUF: ::c_int = 0x1001; 24 pub const SO_RCVBUF: ::c_int = 0x1002; 25 pub const SO_SNDBUFFORCE: ::c_int = 0x100a; 26 pub const SO_RCVBUFFORCE: ::c_int = 0x100b; 27 pub const SO_ERROR: ::c_int = 0x1007; 28 pub const SO_TYPE: ::c_int = 0x1008; 29 pub const SO_PROTOCOL: ::c_int = 0x1028; 30 pub const SO_DOMAIN: ::c_int = 0x1029; 31 pub const SO_NO_CHECK: ::c_int = 0x000b; 32 pub const SO_PRIORITY: ::c_int = 0x000c; 33 pub const SO_BINDTODEVICE: ::c_int = 0x000d; 34 pub const SO_ATTACH_FILTER: ::c_int = 0x001a; 35 pub const SO_DETACH_FILTER: ::c_int = 0x001b; 36 pub const SO_GET_FILTER: ::c_int = SO_ATTACH_FILTER; 37 pub const SO_PEERNAME: ::c_int = 0x001c; 38 pub const SO_PEERSEC: ::c_int = 0x001e; 39 pub const SO_PASSSEC: ::c_int = 0x001f; 40 pub const SO_MARK: ::c_int = 0x0022; 41 pub const SO_RXQ_OVFL: ::c_int = 0x0024; 42 pub const SO_WIFI_STATUS: ::c_int = 0x0025; 43 pub const SCM_WIFI_STATUS: ::c_int = SO_WIFI_STATUS; 44 pub const SO_PEEK_OFF: ::c_int = 0x0026; 45 pub const SO_NOFCS: ::c_int = 0x0027; 46 pub const SO_LOCK_FILTER: ::c_int = 0x0028; 47 pub const SO_SELECT_ERR_QUEUE: ::c_int = 0x0029; 48 pub const SO_BUSY_POLL: ::c_int = 0x0030; 49 pub const SO_MAX_PACING_RATE: ::c_int = 0x0031; 50 pub const SO_BPF_EXTENSIONS: ::c_int = 0x0032; 51 pub const SO_INCOMING_CPU: ::c_int = 0x0033; 52 pub const SO_ATTACH_BPF: ::c_int = 0x0034; 53 pub const SO_DETACH_BPF: ::c_int = SO_DETACH_FILTER; 54 pub const SO_ATTACH_REUSEPORT_CBPF: ::c_int = 0x0035; 55 pub const SO_ATTACH_REUSEPORT_EBPF: ::c_int = 0x0036; 56 pub const SO_CNX_ADVICE: ::c_int = 0x0037; 57 pub const SCM_TIMESTAMPING_OPT_STATS: ::c_int = 0x0038; 58 pub const SO_MEMINFO: ::c_int = 0x0039; 59 pub const SO_INCOMING_NAPI_ID: ::c_int = 0x003a; 60 pub const SO_COOKIE: ::c_int = 0x003b; 61 pub const SCM_TIMESTAMPING_PKTINFO: ::c_int = 0x003c; 62 pub const SO_PEERGROUPS: ::c_int = 0x003d; 63 pub const SO_ZEROCOPY: ::c_int = 0x003e; 64 pub const SO_TXTIME: ::c_int = 0x003f; 65 pub const SCM_TXTIME: ::c_int = SO_TXTIME; 66 pub const SO_BINDTOIFINDEX: ::c_int = 0x0041; 67 pub const SO_SECURITY_AUTHENTICATION: ::c_int = 0x5001; 68 pub const SO_SECURITY_ENCRYPTION_TRANSPORT: ::c_int = 0x5002; 69 pub const SO_SECURITY_ENCRYPTION_NETWORK: ::c_int = 0x5004; 70 pub const SO_TIMESTAMP: ::c_int = 0x001d; 71 pub const SO_TIMESTAMPNS: ::c_int = 0x0021; 72 pub const SO_TIMESTAMPING: ::c_int = 0x0023; 73 // pub const SO_TIMESTAMP_OLD: ::c_int = 0x001d; 74 // pub const SO_TIMESTAMPNS_OLD: ::c_int = 0x0021; 75 // pub const SO_TIMESTAMPING_OLD: ::c_int = 0x0023; 76 // pub const SO_TIMESTAMP_NEW: ::c_int = 0x0046; 77 // pub const SO_TIMESTAMPNS_NEW: ::c_int = 0x0042; 78 // pub const SO_TIMESTAMPING_NEW: ::c_int = 0x0043; 79 // pub const SO_RCVTIMEO_NEW: ::c_int = 0x0044; 80 // pub const SO_SNDTIMEO_NEW: ::c_int = 0x0045; 81 // pub const SO_DETACH_REUSEPORT_BPF: ::c_int = 0x0047; 82 // pub const SO_PREFER_BUSY_POLL: ::c_int = 0x0048; 83 // pub const SO_BUSY_POLL_BUDGET: ::c_int = 0x0049; 84 85 // Defined in unix/linux_like/mod.rs 86 // pub const SCM_TIMESTAMP: ::c_int = SO_TIMESTAMP; 87 pub const SCM_TIMESTAMPNS: ::c_int = SO_TIMESTAMPNS; 88 pub const SCM_TIMESTAMPING: ::c_int = SO_TIMESTAMPING; 89