aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
authorBill Meier <wmeier@newsguy.com>2011-01-27 14:41:38 +0000
committerBill Meier <wmeier@newsguy.com>2011-01-27 14:41:38 +0000
commitf65917945179ad056c4693bbacf1e2321ed9e401 (patch)
tree4ad7f76908f6ec893c081acd5d972ab0f5a7b1d8 /epan
parent7e77c162b0cdf6c4638916d8e5b840ee55c82b6f (diff)
From Masatake YAMATO: Updating value_string for dlm3.m.result
... some values are added to value_string table for dlm3.m.result. It reflects the latest dlm code in linux kernel. See https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=5623 svn path=/trunk/; revision=35678
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-dlm3.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/epan/dissectors/packet-dlm3.c b/epan/dissectors/packet-dlm3.c
index bd9a06bf57..7425747931 100644
--- a/epan/dissectors/packet-dlm3.c
+++ b/epan/dissectors/packet-dlm3.c
@@ -141,6 +141,14 @@
#define LINUX_ENOMEM 12
#define LINUX_INVAL 22
+#define DLM3_ERRNO_EDEADLK 35
+#define DLM3_ERRNO_EBADR 53
+#define DLM3_ERRNO_EBADSLT 57
+#define DLM3_ERRNO_EPROTO 71
+#define DLM3_ERRNO_EOPNOTSUPP 95
+#define DLM3_ERRNO_ETIMEDOUT 110
+#define DLM3_ERRNO_EINPROGRESS 115
+
#define DLM3_ECANCEL 0x10001
#define DLM3_EUNLOCK 0x10002
@@ -353,6 +361,13 @@ static const value_string dlm3_result[] = {
{ -LINUX_EAGAIN, "blocked" },
{ -LINUX_ENOMEM, "no memory" },
{ -LINUX_INVAL, "invalid parameters" },
+ { -DLM3_ERRNO_EDEADLK, "Resource deadlock avoided" },
+ { -DLM3_ERRNO_EBADR, "Invalid request descriptor" },
+ { -DLM3_ERRNO_EBADSLT, "Invalid slot" },
+ { -DLM3_ERRNO_EPROTO, "Protocol error" },
+ { -DLM3_ERRNO_EOPNOTSUPP, "Operation not supported" },
+ { -DLM3_ERRNO_ETIMEDOUT, "Connection timed out" },
+ { -DLM3_ERRNO_EINPROGRESS, "Operation now in progress" },
{ -DLM3_ECANCEL, "cancel completed successfully" },
{ -DLM3_EUNLOCK, "unlock request was successful" },
{ 0, "successful" },