aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-arp.c
diff options
context:
space:
mode:
authorstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-07-18 16:01:11 +0000
committerstig <stig@f5534014-38df-0310-8fa8-9805f1628bb7>2010-07-18 16:01:11 +0000
commit9790b4412dc7af590e4bef84fc6aeec3e3bf31cc (patch)
tree5f6086e86db78d00f5b5198f5b21c345f7ceac9f /epan/dissectors/packet-arp.c
parent1afb38073391da9bedec1a187134956f35f72eda (diff)
Added some ARP options from RFC 5494.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33568 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors/packet-arp.c')
-rw-r--r--epan/dissectors/packet-arp.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/epan/dissectors/packet-arp.c b/epan/dissectors/packet-arp.c
index ea6579054e..b3d8da03fa 100644
--- a/epan/dissectors/packet-arp.c
+++ b/epan/dissectors/packet-arp.c
@@ -141,6 +141,12 @@ struct address_hash_value {
#ifndef ATMARPOP_NAK
#define ATMARPOP_NAK 10 /* ATMARP NAK. */
#endif
+#ifndef ARPOP_EXP1
+#define ARPOP_EXP1 24 /* Experimental 1 */
+#endif
+#ifndef ARPOP_EXP2
+#define ARPOP_EXP2 25 /* Experimental 2 */
+#endif
static const value_string op_vals[] = {
{ARPOP_REQUEST, "request" },
@@ -149,6 +155,8 @@ static const value_string op_vals[] = {
{ARPOP_RREPLY, "reverse reply" },
{ARPOP_IREQUEST, "inverse request"},
{ARPOP_IREPLY, "inverse reply" },
+ {ARPOP_EXP1, "experimental 1" },
+ {ARPOP_EXP2, "experimental 2" },
{0, NULL } };
static const value_string atmop_vals[] = {
@@ -296,6 +304,9 @@ static const value_string hrd_vals[] = {
{ARPHRD_TIA_102_PRJ_25_CAI, "TIA-102 Project 25 CAI"},
{ARPHRD_WIEGAND_INTERFACE, "Wiegand Interface"},
{ARPHRD_PURE_IP, "Pure IP" },
+ {ARPHDR_HW_EXP1, "Experimental 1"},
+ {ARPHDR_HFI, "HFI" },
+ {ARPHDR_HW_EXP2, "Experimental 2"},
{0, NULL } };
const gchar *