diff options
Diffstat (limited to 'src/xlat/scmvals.in')
-rw-r--r-- | src/xlat/scmvals.in | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/src/xlat/scmvals.in b/src/xlat/scmvals.in new file mode 100644 index 000000000..c3b5539b1 --- /dev/null +++ b/src/xlat/scmvals.in @@ -0,0 +1,28 @@ +SCM_RIGHTS 1 +SCM_CREDENTIALS 2 +SCM_SECURITY 3 + +SO_WIFI_STATUS +SO_TXTIME +SO_TIMESTAMP_OLD +SO_TIMESTAMPNS_OLD +SO_TIMESTAMPING_OLD +SO_TIMESTAMP_NEW +SO_TIMESTAMPNS_NEW +SO_TIMESTAMPING_NEW + +/* Generated by maint/gen_xlat_defs.sh -f '#x' -p 'SCM_TIMESTAMPING_' -c 'asm-generic/socket.h' -a 'asm/socket.h' */ +#if defined __sparc__ +SCM_TIMESTAMPING_OPT_STATS 0x38 +#elif defined __hppa__ +SCM_TIMESTAMPING_OPT_STATS 0x402f +#else +SCM_TIMESTAMPING_OPT_STATS 0x36 +#endif +#if defined __sparc__ +SCM_TIMESTAMPING_PKTINFO 0x3c +#elif defined __hppa__ +SCM_TIMESTAMPING_PKTINFO 0x4033 +#else +SCM_TIMESTAMPING_PKTINFO 0x3a +#endif |