xlat: use fallback definitions syntax in scmvals
* xlat/scmvals.in: Rewrite using fallback value definition syntax.
This commit is contained in:
parent
1aca712d4a
commit
1090f31204
@ -2,68 +2,58 @@ SCM_RIGHTS 1
|
||||
SCM_CREDENTIALS 2
|
||||
SCM_SECURITY 3
|
||||
|
||||
#ifndef SCM_TIMESTAMP
|
||||
# if defined HPPA
|
||||
# define SCM_TIMESTAMP 0x4012
|
||||
# elif defined SPARC || defined SPARC64
|
||||
# define SCM_TIMESTAMP 0x001d
|
||||
# else
|
||||
# define SCM_TIMESTAMP 29
|
||||
# endif
|
||||
#if defined HPPA
|
||||
SCM_TIMESTAMP 0x4012
|
||||
#elif defined SPARC || defined SPARC64
|
||||
SCM_TIMESTAMP 0x001d
|
||||
#else
|
||||
SCM_TIMESTAMP 29
|
||||
#endif
|
||||
SCM_TIMESTAMP
|
||||
|
||||
#ifndef SCM_TIMESTAMPNS
|
||||
# if defined HPPA
|
||||
# define SCM_TIMESTAMPNS 0x4013
|
||||
# elif defined SPARC || defined SPARC64
|
||||
# define SCM_TIMESTAMPNS 0x0021
|
||||
# else
|
||||
# define SCM_TIMESTAMPNS 35
|
||||
# endif
|
||||
#if defined HPPA
|
||||
SCM_TIMESTAMPNS 0x4013
|
||||
#elif defined SPARC || defined SPARC64
|
||||
SCM_TIMESTAMPNS 0x0021
|
||||
#else
|
||||
SCM_TIMESTAMPNS 35
|
||||
#endif
|
||||
SCM_TIMESTAMPNS
|
||||
|
||||
#ifndef SCM_TIMESTAMPING
|
||||
# if defined HPPA
|
||||
# define SCM_TIMESTAMPING 0x4020
|
||||
# elif defined SPARC || defined SPARC64
|
||||
# define SCM_TIMESTAMPING 0x0023
|
||||
# else
|
||||
# define SCM_TIMESTAMPING 37
|
||||
# endif
|
||||
#if defined HPPA
|
||||
SCM_TIMESTAMPING 0x4020
|
||||
#elif defined SPARC || defined SPARC64
|
||||
SCM_TIMESTAMPING 0x0023
|
||||
#else
|
||||
SCM_TIMESTAMPING 37
|
||||
#endif
|
||||
SCM_TIMESTAMPING
|
||||
|
||||
#ifndef SCM_WIFI_STATUS
|
||||
# if defined HPPA
|
||||
# define SCM_WIFI_STATUS 0x4022
|
||||
# elif defined SPARC || defined SPARC64
|
||||
# define SCM_WIFI_STATUS 0x0025
|
||||
# else
|
||||
# define SCM_WIFI_STATUS 41
|
||||
# endif
|
||||
#if defined HPPA
|
||||
SCM_WIFI_STATUS 0x4022
|
||||
#elif defined SPARC || defined SPARC64
|
||||
SCM_WIFI_STATUS 0x0025
|
||||
#else
|
||||
SCM_WIFI_STATUS 41
|
||||
#endif
|
||||
SCM_WIFI_STATUS
|
||||
|
||||
#ifndef SCM_TIMESTAMPING_OPT_STATS
|
||||
# if defined HPPA
|
||||
# define SCM_TIMESTAMPING_OPT_STATS 0x402f
|
||||
SCM_TIMESTAMPING_OPT_STATS 0x402f
|
||||
# elif defined SPARC || defined SPARC64
|
||||
# define SCM_TIMESTAMPING_OPT_STATS 0x0038
|
||||
SCM_TIMESTAMPING_OPT_STATS 0x0038
|
||||
# else
|
||||
# define SCM_TIMESTAMPING_OPT_STATS 54
|
||||
SCM_TIMESTAMPING_OPT_STATS 54
|
||||
# endif
|
||||
#endif
|
||||
SCM_TIMESTAMPING_OPT_STATS
|
||||
|
||||
#ifndef SCM_TIMESTAMPING_PKTINFO
|
||||
# if defined HPPA
|
||||
# define SCM_TIMESTAMPING_PKTINFO 0x4033
|
||||
# elif defined SPARC || defined SPARC64
|
||||
# define SCM_TIMESTAMPING_PKTINFO 0x003c
|
||||
# else
|
||||
# define SCM_TIMESTAMPING_PKTINFO 58
|
||||
# endif
|
||||
#if defined HPPA
|
||||
SCM_TIMESTAMPING_PKTINFO 0x4033
|
||||
#elif defined SPARC || defined SPARC64
|
||||
SCM_TIMESTAMPING_PKTINFO 0x003c
|
||||
#else
|
||||
SCM_TIMESTAMPING_PKTINFO 58
|
||||
#endif
|
||||
|
||||
#if defined HPPA
|
||||
SCM_TXTIME 0x4036
|
||||
#elif defined SPARC || defined SPARC64
|
||||
SCM_TXTIME 0x003f
|
||||
#else
|
||||
SCM_TXTIME 61
|
||||
#endif
|
||||
SCM_TIMESTAMPING_PKTINFO
|
||||
|
Loading…
x
Reference in New Issue
Block a user