summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEugene Syromyatnikov <evgsyr@gmail.com>2018-10-20 06:44:47 +0200
committerEugene Syromyatnikov <evgsyr@gmail.com>2022-09-02 17:55:13 +0200
commit4465bd110a3b903e08eb56caaffc344264471647 (patch)
tree1efd9577e41556c4903de951d096d5f343ed080c
parentbdcfc9bdf7418063bc6c9744221ff85fe1c776ba (diff)
downloadstrace-4465bd110a3b903e08eb56caaffc344264471647.tar.gz
xlat: provide fallback values to getsock_ip*_options
* xlat/getsock_ip_options.in: Provide fallback values. * xlat/getsock_ipv6_options.in: Likewise. Closes: https://github.com/strace/strace/issues/87
-rw-r--r--src/xlat/getsock_ip_options.in40
-rw-r--r--src/xlat/getsock_ipv6_options.in9
2 files changed, 25 insertions, 24 deletions
diff --git a/src/xlat/getsock_ip_options.in b/src/xlat/getsock_ip_options.in
index 7b054608c..d21f92808 100644
--- a/src/xlat/getsock_ip_options.in
+++ b/src/xlat/getsock_ip_options.in
@@ -4,26 +4,26 @@
* should be in sock_ip_options.in instead.
*/
-ARPT_SO_GET_INFO
-ARPT_SO_GET_ENTRIES
-ARPT_SO_GET_REVISION_MATCH
-ARPT_SO_GET_REVISION_TARGET
+IPT_SO_GET_INFO 64
+IPT_SO_GET_ENTRIES 65
+IPT_SO_GET_REVISION_MATCH 66
+IPT_SO_GET_REVISION_TARGET 67
-EBT_SO_GET_INFO
-EBT_SO_GET_ENTRIES
-EBT_SO_GET_INIT_INFO
-EBT_SO_GET_INIT_ENTRIES
+ARPT_SO_GET_INFO 96
+ARPT_SO_GET_ENTRIES 97
+ARPT_SO_GET_REVISION_MATCH 98
+ARPT_SO_GET_REVISION_TARGET 99
-IP_VS_SO_GET_VERSION
-IP_VS_SO_GET_INFO
-IP_VS_SO_GET_SERVICES
-IP_VS_SO_GET_SERVICE
-IP_VS_SO_GET_DESTS
-IP_VS_SO_GET_DEST
-IP_VS_SO_GET_TIMEOUT
-IP_VS_SO_GET_DAEMON
+EBT_SO_GET_INFO 128
+EBT_SO_GET_ENTRIES 129
+EBT_SO_GET_INIT_INFO 130
+EBT_SO_GET_INIT_ENTRIES 131
-IPT_SO_GET_INFO
-IPT_SO_GET_ENTRIES
-IPT_SO_GET_REVISION_MATCH
-IPT_SO_GET_REVISION_TARGET
+IP_VS_SO_GET_VERSION 1152
+IP_VS_SO_GET_INFO 1153
+IP_VS_SO_GET_SERVICES 1154
+IP_VS_SO_GET_SERVICE 1155
+IP_VS_SO_GET_DESTS 1156
+IP_VS_SO_GET_DEST 1157
+IP_VS_SO_GET_TIMEOUT 1158
+IP_VS_SO_GET_DAEMON 1159
diff --git a/src/xlat/getsock_ipv6_options.in b/src/xlat/getsock_ipv6_options.in
index 98c450fa7..909b91a84 100644
--- a/src/xlat/getsock_ipv6_options.in
+++ b/src/xlat/getsock_ipv6_options.in
@@ -4,7 +4,8 @@
* should be in sock_ipv6_options.in instead.
*/
-IP6T_SO_GET_INFO
-IP6T_SO_GET_ENTRIES
-IP6T_SO_GET_REVISION_MATCH
-IP6T_SO_GET_REVISION_TARGET
+IP6T_SO_GET_INFO 64
+IP6T_SO_GET_ENTRIES 65
+IP6T_SO_GET_REVISION_MATCH 68
+IP6T_SO_GET_REVISION_TARGET 69
+IP6T_SO_ORIGINAL_DST 80