Define SO_TIMESTAMP twice, for PA-RISC and all the other architectures.
* xlat/sock_rds_options.in [!__hppa__] (SO_TIMESTAMP): Define to 29.
[__hppa__] (SO_TIMESTAMP): Define to 0x4012.
* net.c (print_sockopt_fd_level_name) <case SOL_RDS>: Use
printxval_search instead of printxval.
printxval(sock_pnp_options, name, "PNPIPE_???");
break;
case SOL_RDS:
- printxval(sock_rds_options, name, "RDS_???");
+ printxval_search(sock_rds_options, name, "RDS_???");
break;
case SOL_IUCV:
printxval(sock_iucv_options, name, "SO_???");
SO_RDS_TRANSPORT 8
SO_RDS_MSG_RXPATH_LATENCY 10
-/* It's 29 except for hppa where it's 0x4012, so we can't even simply assume that the xlat is sorted */
-SO_TIMESTAMP
+#ifndef __hppa__
+SO_TIMESTAMP 29
+#endif
RDS_INFO_COUNTERS 10000
RDS_INFO_CONNECTIONS 10001
RDS_INFO_IB_CONNECTIONS 10008
RDS_INFO_CONNECTION_STATS 10009
RDS_INFO_IWARP_CONNECTIONS 10010
+
+#ifdef __hppa__
+SO_TIMESTAMP 0x4012
+#endif