aboutsummaryrefslogtreecommitdiffstats
path: root/epan/tfs.h
diff options
context:
space:
mode:
authorAmine Kherbouche <amine.kherbouche@6wind.com>2015-07-07 10:46:34 +0200
committerMichael Mann <mmann78@netscape.net>2015-07-09 20:28:11 +0000
commit2a5a560a64e73832c6a91b4a3772ddbda0e7d5fb (patch)
tree4f2ad2d143821e22da4326dbf26d94f12b2174be /epan/tfs.h
parentfdd07c4d3a5e7d83e235957dc731502770e709f1 (diff)
VXLAN: Add Group Based Policy dissector
According to some advices from my last commit,i made some changes, and i use proto_tree_add_bitmask for bits field. Editing VXLAN dissector for supporting GBP extension described in the following draft link : https://tools.ietf.org/html/draft-smith-vxlan-group-policy-00 This pach works fine with "old" version of VXLAN (no GBP support) The flags are now extended to 16 bits to support GBP extension, Group Policy Id is on 16 bits, VNI always on 24 bits and remaining bits are reserved. The following bits are defined in addition to the existing VXLAN fields: bit 0 : "G" Group Based Policy Extension bit bit 9 : "D" Don't Learn bit bit 12 : "A" Policy Applied bit the remaining bits are reserved Bug: 11348 Change-Id: I425ed63cf76f134eb3d1680a1753ed31f252dfa8 Signed-off-by: Amine Kherbouche <amine.kherbouche@6wind.com> Reviewed-on: https://code.wireshark.org/review/9537 Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com> Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com> Tested-by: Petri Dish Buildbot <buildbot-no-reply@wireshark.org> Reviewed-by: Michael Mann <mmann78@netscape.net>
Diffstat (limited to 'epan/tfs.h')
-rw-r--r--epan/tfs.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/epan/tfs.h b/epan/tfs.h
index 38501170a3..a1e00830bc 100644
--- a/epan/tfs.h
+++ b/epan/tfs.h
@@ -101,6 +101,7 @@ WS_DLL_PUBLIC const true_false_string tfs_protocol_sensative_bit_transparent;
WS_DLL_PUBLIC const true_false_string tfs_full_half;
WS_DLL_PUBLIC const true_false_string tfs_acknowledged_not_acknowledged;
WS_DLL_PUBLIC const true_false_string tfs_response_request;
+WS_DLL_PUBLIC const true_false_string tfs_defined_not_defined;
#ifdef __cplusplus
}