Move SO_TIMESTAMPING and SCM_TIMESTAMPING.
This used to be defined multiple times in different (but not all) architectures. Moving it to general linux module since it's an architecture independent feature.
This commit is contained in:
parent
03310f8ad6
commit
f68d06e2ed
@ -397,8 +397,6 @@ pub const SO_PASSSEC: ::c_int = 34;
|
||||
pub const SO_TIMESTAMPNS: ::c_int = 35;
|
||||
pub const SCM_TIMESTAMPNS: ::c_int = SO_TIMESTAMPNS;
|
||||
pub const SO_MARK: ::c_int = 36;
|
||||
pub const SO_TIMESTAMPING: ::c_int = 37;
|
||||
pub const SCM_TIMESTAMPING: ::c_int = SO_TIMESTAMPING;
|
||||
pub const SO_RXQ_OVFL: ::c_int = 40;
|
||||
pub const SO_WIFI_STATUS: ::c_int = 41;
|
||||
pub const SCM_WIFI_STATUS: ::c_int = SO_WIFI_STATUS;
|
||||
|
@ -1672,6 +1672,9 @@ pub const ARPD_LOOKUP: ::c_ushort = 0x02;
|
||||
pub const ARPD_FLUSH: ::c_ushort = 0x03;
|
||||
pub const ATF_MAGIC: ::c_int = 0x80;
|
||||
|
||||
pub const SO_TIMESTAMPING: ::c_int = 37;
|
||||
pub const SCM_TIMESTAMPING: ::c_int = SO_TIMESTAMPING;
|
||||
|
||||
// linux/module.h
|
||||
pub const MODULE_INIT_IGNORE_MODVERSIONS: ::c_uint = 0x0001;
|
||||
pub const MODULE_INIT_IGNORE_VERMAGIC: ::c_uint = 0x0002;
|
||||
|
@ -284,8 +284,6 @@ pub const SO_PASSSEC: ::c_int = 34;
|
||||
pub const SO_TIMESTAMPNS: ::c_int = 35;
|
||||
pub const SCM_TIMESTAMPNS: ::c_int = SO_TIMESTAMPNS;
|
||||
pub const SO_MARK: ::c_int = 36;
|
||||
pub const SO_TIMESTAMPING: ::c_int = 37;
|
||||
pub const SCM_TIMESTAMPING: ::c_int = SO_TIMESTAMPING;
|
||||
pub const SO_PROTOCOL: ::c_int = 38;
|
||||
pub const SO_DOMAIN: ::c_int = 39;
|
||||
pub const SO_RXQ_OVFL: ::c_int = 40;
|
||||
|
@ -271,8 +271,6 @@ pub const SO_PASSSEC: ::c_int = 34;
|
||||
pub const SO_TIMESTAMPNS: ::c_int = 35;
|
||||
pub const SCM_TIMESTAMPNS: ::c_int = SO_TIMESTAMPNS;
|
||||
pub const SO_MARK: ::c_int = 36;
|
||||
pub const SO_TIMESTAMPING: ::c_int = 37;
|
||||
pub const SCM_TIMESTAMPING: ::c_int = SO_TIMESTAMPING;
|
||||
pub const SO_PROTOCOL: ::c_int = 38;
|
||||
pub const SO_DOMAIN: ::c_int = 39;
|
||||
pub const SO_RXQ_OVFL: ::c_int = 40;
|
||||
|
@ -371,8 +371,6 @@ pub const SO_PASSSEC: ::c_int = 34;
|
||||
pub const SO_TIMESTAMPNS: ::c_int = 35;
|
||||
pub const SCM_TIMESTAMPNS: ::c_int = SO_TIMESTAMPNS;
|
||||
pub const SO_MARK: ::c_int = 36;
|
||||
pub const SO_TIMESTAMPING: ::c_int = 37;
|
||||
pub const SCM_TIMESTAMPING: ::c_int = SO_TIMESTAMPING;
|
||||
pub const SO_PROTOCOL: ::c_int = 38;
|
||||
pub const SO_DOMAIN: ::c_int = 39;
|
||||
pub const SO_RXQ_OVFL: ::c_int = 40;
|
||||
|
Loading…
Reference in New Issue
Block a user