aboutsummaryrefslogtreecommitdiffstats
path: root/epan/eap.h
diff options
context:
space:
mode:
authorDr. Lars Voelker <lars-github@larsvoelker.de>2019-04-25 20:59:59 +0200
committerPeter Wu <peter@lekensteyn.nl>2019-04-23 23:57:25 +0000
commit6a3b24be292f4dc9dcf8dc3adacb1196ec67eea3 (patch)
tree9db61920f97fe4d3239ae5b57f56812ab07ef045 /epan/eap.h
parent900b9f137910c0ad0fe95d7354af8315ffeb0b04 (diff)
EAP: Passing additional context to allow for reassembly in vendor parser
Currently an extended vendor parser only gets the vendor_type directly and the vendor_id indirectly. For some cases (eap fragmentation et al.) it is important to have access to the eap_code and the eap_identifier as well. This patch is adding this. Change-Id: I848cbe58dc4f8e4034382a9c9ca43d350a61bb18 Signed-off-by: Dr. Lars Voelker <lars-github@larsvoelker.de> Reviewed-on: https://code.wireshark.org/review/32944 Reviewed-by: Jaap Keuter <jaap.keuter@xs4all.nl> Petri-Dish: Jaap Keuter <jaap.keuter@xs4all.nl> Tested-by: Petri Dish Buildbot Reviewed-by: Peter Wu <peter@lekensteyn.nl>
Diffstat (limited to 'epan/eap.h')
-rw-r--r--epan/eap.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/epan/eap.h b/epan/eap.h
index ca64c0d7ac..505e0d06dc 100644
--- a/epan/eap.h
+++ b/epan/eap.h
@@ -68,4 +68,11 @@ WS_DLL_PUBLIC const value_string eap_aka_subtype_vals[];
WS_DLL_PUBLIC const value_string eap_ms_chap_v2_opcode_vals[];
+typedef struct _eap_vendor_context {
+ guint32 vendor_type;
+ guint32 vendor_id;
+ guint8 eap_code;
+ guint8 eap_identifier;
+} eap_vendor_context;
+
#endif