aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-arp.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2010-07-18 16:01:11 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2010-07-18 16:01:11 +0000
commit31c67f8a03e704912f11e9c4972b53efe6595e55 (patch)
tree5f6086e86db78d00f5b5198f5b21c345f7ceac9f /epan/dissectors/packet-arp.c
parent28006dfb4f93b04ce08b00e435b5c47364587eae (diff)
Added some ARP options from RFC 5494.
svn path=/trunk/; revision=33568
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 *