aboutsummaryrefslogtreecommitdiffstats
path: root/epan/proto.h
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2017-10-09 15:17:32 -0400
committerMichael Mann <mmann78@netscape.net>2017-10-15 22:44:47 +0000
commitcb89fdd1f664d68dcf3ed5251a4d3d43fe9504e4 (patch)
tree323b074eedec85602fa555e93d2c987e740c9f0a /epan/proto.h
parent2663881c378913d5c9cd123c469e1bb29a5e39be (diff)
Add support for BASE_OUI
Modeled after BASE_PT_XXX, this will format a FT_UINT24 to look a OUI, in the form of: XX:XX:XX (Manufacturer Name) for display. For display filtering, it will treat the value as hexadecimal. It requires that FT_UINT24 be the field type. Change-Id: I8716ae4dfcd4e854764a2425e2ff13c50f571d52 Reviewed-on: https://code.wireshark.org/review/23869 Reviewed-by: Richard Sharpe Petri-Dish: Michael Mann <mmann78@netscape.net> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/proto.h')
-rw-r--r--epan/proto.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/epan/proto.h b/epan/proto.h
index 163bbca51b..e749979b8e 100644
--- a/epan/proto.h
+++ b/epan/proto.h
@@ -594,7 +594,11 @@ typedef enum {
BASE_PT_UDP = 13, /**< UDP port */
BASE_PT_TCP = 14, /**< TCP port */
BASE_PT_DCCP = 15, /**< DCCP port */
- BASE_PT_SCTP = 16 /**< SCTP port */
+ BASE_PT_SCTP = 16, /**< SCTP port */
+
+/* OUI types */
+ BASE_OUI = 17 /**< OUI resolution */
+
} field_display_e;
#define FIELD_DISPLAY(d) ((d) & FIELD_DISPLAY_E_MASK)