aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-diameter_3gpp.h
diff options
context:
space:
mode:
authorJan Spevak <jan.spevak@nokia.com>2016-12-12 10:48:37 +0100
committerAnders Broman <a.broman58@gmail.com>2016-12-19 13:13:39 +0000
commit36ec6240a8bc2cc8c30a2a1a1dc217c19fca0f4b (patch)
tree7b14916e16c9c4abbabc8af3e2cd98c53307d84f /epan/dissectors/packet-diameter_3gpp.h
parent047023d44371c0abcfeea3cee7779363d4e12974 (diff)
Added decoding of RAN/NAS cause IE/AVP
Change-Id: I889820405528be5e17edf85e52291d642a98cce6 Reviewed-on: https://code.wireshark.org/review/19216 Petri-Dish: Anders Broman <a.broman58@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Anders Broman <a.broman58@gmail.com>
Diffstat (limited to 'epan/dissectors/packet-diameter_3gpp.h')
-rw-r--r--epan/dissectors/packet-diameter_3gpp.h95
1 files changed, 95 insertions, 0 deletions
diff --git a/epan/dissectors/packet-diameter_3gpp.h b/epan/dissectors/packet-diameter_3gpp.h
new file mode 100644
index 0000000000..44f4b90af6
--- /dev/null
+++ b/epan/dissectors/packet-diameter_3gpp.h
@@ -0,0 +1,95 @@
+/* packet-diameter_3gpp.h
+ *
+ * Wireshark - Network traffic analyzer
+ * By Gerald Combs <gerald@wireshark.org>
+ * Copyright 1998 Gerald Combs
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License
+ * as published by the Free Software Foundation; either version 2
+ * of the License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+ */
+
+static const value_string diameter_3gpp_IKEv2_error_type_vals[] = {
+ { 1, "UNSUPPORTED_CRITICAL_PAYLOAD" },
+ { 4, "INVALID_IKE_SPI" },
+ { 5, "INVALID_MAJOR_VERSION" },
+ { 7, "INVALID_SYNTAX" },
+ { 9, "INVALID_MESSAGE_ID" },
+ { 11, "INVALID_SPI" },
+ { 14, "NO_PROPOSAL_CHOSEN" },
+ { 17, "INVALID_IKE_PAYLOAD" },
+ { 24, "AUTHENTICATION_FAILED" },
+ { 34, "SINGLE_PAIR_REQUIRED" },
+ { 35, "NO_ADDITIONAL_SAS" },
+ { 36, "INTERNAL_ADDRESS_FAILURE" },
+ { 37, "FAILED_CP_REQUIRED" },
+ { 38, "TS_UNACCEPTABLE" },
+ { 39, "INVALID_SELECTORS" },
+ { 40, "UNACCEPTABLE_ADDRESSES" },
+ { 41, "UNEXPECTED_NAT_DETECTED" },
+ { 42, "USE_ASSIGNED_HoA" },
+ { 43, "TEMPORARY_FAILURE" },
+ { 44, "CHILD_SA_NOT_FOUND" },
+ { 45, "INVALID_GROUP_ID" },
+ { 46, "AUTHORIZATION_FAILED" },
+ { 0, NULL }
+};
+
+static const value_string diameter_3gpp_termination_cause_vals[] = {
+ { 1, "DIAMETER_LOGOUT" },
+ { 2, "DIAMETER_SERVICE_NOT_PROVIDED" },
+ { 3, "DIAMETER_BAD_ANSWER" },
+ { 4, "DIAMETER_ADMINISTRATIVE" },
+ { 5, "DIAMETER_LINK_BROKEN" },
+ { 6, "DIAMETER_AUTH_EXPIRED" },
+ { 7, "DIAMETER_USER_MOVED" },
+ { 8, "DIAMETER_SESSION_TIMEOUT" },
+ { 9, "Unassigned" },
+ { 10, "Unassigned" },
+ { 11, "User Request" },
+ { 12, "Lost Carrier" },
+ { 13, "Lost Service" },
+ { 14, "Idle Timeout" },
+ { 15, "Session Timeout" },
+ { 16, "Admin Reset" },
+ { 17, "Admin Reboot" },
+ { 18, "Port Error" },
+ { 19, "NAS Error" },
+ { 20, "NAS Request" },
+ { 21, "NAS Reboot" },
+ { 22, "Port Unneeded" },
+ { 23, "Port Preempted" },
+ { 24, "Port Suspended" },
+ { 25, "Service Unavailable" },
+ { 26, "Callback" },
+ { 27, "User Error" },
+ { 28, "Host Request" },
+ { 29, "Supplicant Restart" },
+ { 30, "Reauthentication Failure" },
+ { 31, "Port Reinitialized" },
+ { 32, "Port Administratively Disabled" },
+ { 0, NULL }
+};
+
+/*
+ * Editor modelines
+ *
+ * Local Variables:
+ * c-basic-offset: 4
+ * tab-width: 8
+ * indent-tabs-mode: nil
+ * End:
+ *
+ * ex: set shiftwidt=4 tabstop=8 expandtab:
+ * :indentSize=4:tabSize=8:noTabs=true:
+ */